Public Methods |
| TBitmap () |
| TBitmap (string sFileName) |
| ~TBitmap () |
void | Clear () |
void | ConvertToGrayScale () |
bool | Empty () const |
uint2 | GetHeight () const |
tRGBColor | GetPixel (int2 x, int2 y) const |
uint2 | GetWidth () const |
void | Invert () |
bool | Load (string sFileName) |
bool | LoadBMP (string sFileName) |
void | SetAllPixels (tRGBColor Color) |
void | SetAllPixels (uint2 uGray=0) |
Private Methods |
bool | AllocateMemoryForBitmap () |
void | DeleteBitmap () |
void | Reset () |
void | WriteBMPHeaderToLog (const tBMPHeader Header) const |
Private Attributes |
tRGBColor ** | Bitmap |
uint2 | uWidth |
uint2 | uHeight |
Description: A simple and (at the moment) incomplete class, managing a bitmap <PENDING> Right now only special bitmaps can be loaded: 256 colors and only Windows BMP?! Don't know ... this is not the final version!!!