|
bool | Allocate (int iXSize, int iYSize, int iDepth=24) |
|
bool | IsAllocated () const |
|
void | SetPixel24 (int x, int y, uchar r, uchar g, uchar b) |
|
void | SetPixel24 (int x, int y, const RGBi &rgb) |
|
void | GetPixel24 (int x, int y, RGBi &rgb) const |
|
void | SetPixel32 (int x, int y, const RGBAi &rgba) |
|
void | GetPixel32 (int x, int y, RGBAi &rgba) const |
|
uchar | GetPixel8 (int x, int y) const |
|
void | SetPixel8 (int x, int y, uchar color) |
|
uint | GetWidth () const |
|
uint | GetHeight () const |
|
uint | GetDepth () const |
|
void | ContentsChanged () |
|
bool | ReadPNGFromMemory (uchar *buf, int len) |
|
bool | WriteJPEG (const char *fname, int quality) |
|
void | ScalePixel8 (int x, int y, float fScale) |
|
void | ScalePixel24 (int x, int y, float fScale) |
|
void | ScalePixel32 (int x, int y, float fScale) |
|
void | BlitTo (vtBitmapBase &target, int x, int y) |
|
This class provides an encapsulation of "bitmap" behavior, which can either use the Win32 DIBSection methods, or the wxWidgets Bitmap methods.
Set USE_DIBSECTIONS to 1 to get the DIBSection functionality.