resonance 1.0.1
Loading...
Searching...
No Matches
acanvaslin4.h
Go to the documentation of this file.
1#pragma once
2
3#include "rndartt/acanvas8.h"
4
28class ACanvasLin4 : public ACanvas8 {
29public:
37 explicit ACanvasLin4(const ABitmap &bitmap);
38
48 virtual ~ACanvasLin4();
49
56 virtual void DrawPixelU(int nX, int nY);
57
64 virtual void DrawPixel8U(int nX, int nY, int nIndex);
65
72 virtual int GetPixel8U(int nX, int nY);
73
83 virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY);
84
98 virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY);
99
109 virtual void DrawBitmapRle8U(const ABitmap &source, int nX, int nY);
110
111private:
142 void DrawBitmapRowLin8U(const ABitmap *pSource, const unsigned char *pRow, int nX, int nY);
143};
Description of a pixel rectangle, its layout, and its palette.
Definition abitmap.h:95
ACanvas8(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY)
Slot 47.
virtual ~ACanvasLin4()
Slot 1.
virtual void DrawBitmapRle8U(const ABitmap &source, int nX, int nY)
Slot 57.
ACanvasLin4(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawPixel8U(int nX, int nY, int nIndex)
Slot 15.
virtual int GetPixel8U(int nX, int nY)
Slot 25.
virtual void DrawPixelU(int nX, int nY)
Slot 13.
virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY)
Slot 49.