aswang
1.0
|
Wraps a bitmap handle and automatically handles allocation/deallocation. More...
#include <Bitmap.h>
Public Member Functions | |
Bitmap () | |
Bitmap (HBITMAP h) | |
Wrap existing handle. | |
virtual | ~Bitmap () |
Cleanup. | |
virtual void | Delete () |
Free the HBITMAP. | |
virtual HBITMAP | GetHandle () const |
Get the windows handle for the bitmap. | |
virtual BITMAP | GetObjectInfo () |
Structure contains size, type, depth, etc. | |
virtual long | GetWidth () |
virtual long | GetHeight () |
virtual long | GetWidthBytes () |
virtual short | GetPlanes () |
virtual short | GetBitsPerPixel () |
virtual char * | GetBits () |
Get raw bit values. | |
virtual Bitmap & | operator= (HBITMAP h) |
virtual | operator HBITMAP () const |
Wraps a bitmap handle and automatically handles allocation/deallocation.
aswang::Bitmap::Bitmap | ( | HBITMAP | h | ) | [inline] |
virtual aswang::Bitmap::~Bitmap | ( | ) | [inline, virtual] |
void Bitmap::Delete | ( | ) | [virtual] |
Free the HBITMAP.
Definition at line 24 of file Bitmap.cpp.
char * Bitmap::GetBits | ( | ) | [virtual] |
Get raw bit values.
Definition at line 70 of file Bitmap.cpp.
short Bitmap::GetBitsPerPixel | ( | ) | [virtual] |
Definition at line 63 of file Bitmap.cpp.
virtual HBITMAP aswang::Bitmap::GetHandle | ( | ) | const [inline, virtual] |
long Bitmap::GetHeight | ( | ) | [virtual] |
Definition at line 48 of file Bitmap.cpp.
BITMAP Bitmap::GetObjectInfo | ( | ) | [virtual] |
Structure contains size, type, depth, etc.
Definition at line 35 of file Bitmap.cpp.
short Bitmap::GetPlanes | ( | ) | [virtual] |
Definition at line 58 of file Bitmap.cpp.
long Bitmap::GetWidth | ( | ) | [virtual] |
Definition at line 43 of file Bitmap.cpp.
long Bitmap::GetWidthBytes | ( | ) | [virtual] |
Definition at line 53 of file Bitmap.cpp.
virtual aswang::Bitmap::operator HBITMAP | ( | ) | const [inline, virtual] |
Bitmap & Bitmap::operator= | ( | HBITMAP | h | ) | [virtual] |
Definition at line 29 of file Bitmap.cpp.