#include <BitmapData.h>
Inheritance diagram for BitmapData:
Public Types | |
enum | BitmapFormat { BITMAP_FORMAT_XRGB = 0, BITMAP_FORMAT_ARGB, BITMAP_FORMAT_XBGR, BITMAP_FORMAT_ABGR, BITMAP_FORMAT_RGBX, BITMAP_FORMAT_RGBA, BITMAP_FORMAT_BGRX, BITMAP_FORMAT_BGRA } |
Public Member Functions | |
BitmapData (unsigned int aWidth, unsigned int aHeight, unsigned int aPitch, unsigned long *aData, BitmapFormat aFormat) | |
Constructor. | |
Public Attributes | |
unsigned int | mWidth |
unsigned int | mHeight |
unsigned int | mPitch |
unsigned long * | mData |
BitmapFormat | mFormat |
|
|
|
Constructor. /param aWidth the width of the bitmap in pixels. /param aHeight the height of the bitmap in pixels. /param aPitch the lenght of one scanline in bytes. /param aData a pointer to the data. /param aFormat the format of the bitmap. |
|
|
|
|
|
|
|
|
|
|