resonance 1.0.1
Loading...
Searching...
No Matches
acanvaslin15.h
Go to the documentation of this file.
1#pragma once
2
3#include "rndartt/acanvas15.h"
4
33class ACanvasLin15 : public ACanvas15 {
34public:
45 explicit ACanvasLin15(const ABitmap &bitmap);
46
56 virtual ~ACanvasLin15();
57
64 virtual void SetAlphaValues(unsigned int nColorKey);
65
72 virtual void DrawPixelU(int nX, int nY);
73
80 virtual void DrawPixel15U(int nX, int nY, unsigned short nColor);
81
88 virtual unsigned short GetPixel15U(int nX, int nY);
89
96 virtual void DrawHorzLineU(int nY, int nLeft, int nRight);
97
104 virtual void DrawVertLineU(int nX, int nTop, int nBottom);
105
112 virtual void DrawRectU(ARect rect);
113
120 virtual void DrawTmapRow8U(int nY,
121 int nLeft,
122 int nRight,
123 const ABitmap *pSource,
124 APoint *pSourcePosition,
125 const APoint *pSourceStep);
126
135 virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY);
136
143 virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY);
144
151 virtual void DrawBitmapLin15U(const ABitmap &source, int nX, int nY);
152
161 virtual void DrawClutBitmapRowLin8U(const ARowInfo &span, const unsigned char *pRemap);
162
172 virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span);
173
181 const unsigned char *pRemap);
182};
Description of a pixel rectangle, its layout, and its palette.
Definition abitmap.h:95
ACanvas15(const ABitmap &bitmap)
Adopt a pixel description.
virtual void DrawBitmapLin15U(const ABitmap &source, int nX, int nY)
Slot 51.
virtual void DrawTmapRow8U(int nY, int nLeft, int nRight, const ABitmap *pSource, APoint *pSourcePosition, const APoint *pSourceStep)
Slot 46.
virtual void SetAlphaValues(unsigned int nColorKey)
Slot 12.
virtual void DrawPixel15U(int nX, int nY, unsigned short nColor)
Slot 17.
virtual void DrawHorzLineU(int nY, int nLeft, int nRight)
Slot 35.
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 ~ACanvasLin15()
Slot 1.
virtual void DrawPixelU(int nX, int nY)
Slot 13.
virtual void DrawBitmapLin4U(const ABitmap &source, int nX, int nY)
Slot 47.
virtual void DrawScaledBitmapRowLin8U(const AScaledRowInfo &span)
Slot 79.
virtual void DrawBitmapLin8U(const ABitmap &source, int nX, int nY)
Slot 49.
ACanvasLin15(const ABitmap &bitmap)
Construct over a bitmap.
virtual void DrawVertLineU(int nX, int nTop, int nBottom)
Slot 37.
virtual unsigned short GetPixel15U(int nX, int nY)
Slot 27.
virtual void DrawRectU(ARect rect)
Slot 39.
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