resonance 1.0.1
Loading...
Searching...
No Matches
acanvaslin8.h
Go to the documentation of this file.
1#pragma once
2
3#include "rndartt/acanvas8.h"
4
22class ACanvasLin8 : public ACanvas8 {
23public:
31 explicit ACanvasLin8(const ABitmap &bitmap);
32
42 virtual ~ACanvasLin8();
43
50 virtual void DrawPixelU(int nX, int nY);
51
58 virtual void DrawPixel8U(int nX, int nY, int nIndex);
59
66 virtual int GetPixel8U(int nX, int nY);
67
74 virtual void DrawHorzLineU(int nY, int nLeft, int nRight);
75
82 virtual void DrawVertLineU(int nX, int nTop, int nBottom);
83
90 virtual void DrawRectU(ARect rect);
91
98 virtual void DrawClutRectU(ARect rect, const unsigned char *pRemap);
99
108 virtual void DrawTmapRow8U(int nY,
109 int nLeft,
110 int nRight,
111 const ABitmap *pSource,
112 APoint *pSourcePosition,
113 const APoint *pSourceStep);
114
124 virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY);
125
136 virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY);
137
144 virtual void DrawBitmapRle8U(const ABitmap &source, int nX, int nY);
145
152 virtual void DrawClutBitmapRowLin8U(const ARowInfo &span, const unsigned char *pRemap);
153
162 virtual void DrawBlendBitmapRowLin8U(const ARowInfo &span, const unsigned char *const *ppBlend);
163
173 virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span);
174
182 const unsigned char *pRemap);
183
191 const unsigned char *const *ppBlend);
192};
Description of a pixel rectangle, its layout, and its palette.
Definition abitmap.h:95
ACanvas8(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawBitmapRle8U(const ABitmap &source, int nX, int nY)
Slot 57.
virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY)
Slot 47.
virtual void DrawScaledClutBitmapRowLin8U(const AScaledRowInfo &span, const unsigned char *pRemap)
Slot 83.
virtual void DrawClutBitmapRowLin8U(const ARowInfo &span, const unsigned char *pRemap)
Slot 75.
virtual void DrawClutRectU(ARect rect, const unsigned char *pRemap)
Slot 43.
virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY)
Slot 49.
virtual int GetPixel8U(int nX, int nY)
Slot 25.
ACanvasLin8(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawVertLineU(int nX, int nTop, int nBottom)
Slot 37.
virtual void DrawPixelU(int nX, int nY)
Slot 13.
virtual void DrawBlendBitmapRowLin8U(const ARowInfo &span, const unsigned char *const *ppBlend)
Slot 78.
virtual void DrawPixel8U(int nX, int nY, int nIndex)
Slot 15.
virtual void DrawTmapRow8U(int nY, int nLeft, int nRight, const ABitmap *pSource, APoint *pSourcePosition, const APoint *pSourceStep)
Slot 46.
virtual void DrawRectU(ARect rect)
Slot 39.
virtual void DrawHorzLineU(int nY, int nLeft, int nRight)
Slot 35.
virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span)
Slot 79.
virtual void DrawScaledBlendBitmapRowLin8U(const AScaledRowInfo &span, const unsigned char *const *ppBlend)
Slot 84.
virtual ~ACanvasLin8()
Slot 1.
Half open rectangle of pixel coordinates.
Definition arect.h:25
One row of source pixels addressed to one destination row of a canvas.
Definition arowspan.h:21
One stretched copy of a source bitmap into a destination rectangle, walked a row at a time.
Definition astretchblit.h:30
Pair of fixed point coordinates.
Definition apoint.h:16