resonance 1.0.1
Loading...
Searching...
No Matches
acanvaslin24.h
Go to the documentation of this file.
1#pragma once
2
3#include "rndartt/acanvas24.h"
4
37class ACanvasLin24 : public ACanvas24 {
38public:
50 explicit ACanvasLin24(const ABitmap &bitmap);
51
61 virtual void SetAlphaValues(unsigned int nColorKey);
62
69 virtual void DrawPixelU(int nX, int nY);
70
77 virtual void DrawPixel24U(int nX, int nY, const unsigned char *pRGB);
78
85 virtual void GetPixel24U(int nX, int nY, unsigned char *pRGB);
86
93 virtual void DrawHorzLineU(int nY, int nLeft, int nRight);
94
101 virtual void DrawVertLineU(int nX, int nTop, int nBottom);
102
109 virtual void DrawRectU(ARect rect);
110
117 virtual void DrawTmapRow8U(int nY,
118 int nLeft,
119 int nRight,
120 const ABitmap *pSource,
121 APoint *pSourcePosition,
122 const APoint *pSourceStep);
123
132 virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY);
133
143 virtual void DrawBitmapLin24U(const ABitmap &source, int nX, int nY);
144
153 virtual void DrawClutBitmapRowLin8U(const ARowInfo &span, const unsigned char *pRemap);
154
161 virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span);
162
170 const unsigned char *pRemap);
171};
Description of a pixel rectangle, its layout, and its palette.
Definition abitmap.h:95
ACanvas24(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawVertLineU(int nX, int nTop, int nBottom)
Slot 37.
virtual void SetAlphaValues(unsigned int nColorKey)
Slot 12.
virtual void DrawPixel24U(int nX, int nY, const unsigned char *pRGB)
Slot 19.
virtual void DrawBitmapLin24U(const ABitmap &source, int nX, int nY)
Slot 53.
virtual void DrawHorzLineU(int nY, int nLeft, int nRight)
Slot 35.
virtual void DrawRectU(ARect rect)
Slot 39.
virtual void DrawTmapRow8U(int nY, int nLeft, int nRight, const ABitmap *pSource, APoint *pSourcePosition, const APoint *pSourceStep)
Slot 46.
virtual void DrawScaledClutBitmapRowLin8U(const AScaledRowInfo &span, const unsigned char *pRemap)
Slot 83.
virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span)
Slot 79.
virtual void GetPixel24U(int nX, int nY, unsigned char *pRGB)
Slot 29.
virtual void DrawPixelU(int nX, int nY)
Slot 13.
ACanvasLin24(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY)
Slot 49.
virtual void DrawClutBitmapRowLin8U(const ARowInfo &span, const unsigned char *pRemap)
Slot 75.
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