Wrapper for ALLEGRO_BITMAP. More...
#include <BitmapPlus.h>
Public Member Functions | |
BitmapPlus (const BitmapPlus &bitmap) | |
BitmapPlus (ALLEGRO_BITMAP *bitmap) | |
BitmapPlus (const int w, const int h) | |
BitmapPlus & | operator= (const BitmapPlus &bitmap) |
BitmapPlus & | operator= (ALLEGRO_BITMAP *bitmap) |
BitmapPlus | CreateSubBitmap (const int x, const int y, const int w, const int h) |
BitmapPlus | Clone () |
int | GetFlags () const |
int | GetFormat () const |
int | Height () const |
int | Width () const |
ALLEGRO_COLOR | GetPixel (const int x, const int y) const |
bool | IsLocked () const |
bool | IsCompatible (const BitmapPlus &bitmap) const |
bool | IsCompatible (const ALLEGRO_BITMAP *bitmap) const |
bool | IsSub (const BitmapPlus &bitmap) const |
bool | IsSub (const ALLEGRO_BITMAP *bitmap) const |
ALLEGRO_BITMAP * | GetParent () const |
void | Draw (float dx, float dy, int flags=0) |
void | DrawTinted (ALLEGRO_COLOR tint, float dx, float dy, int flags=0) |
void | DrawRegion (float sx, float sy, float sw, float sh, float dx, float dy, int flags=0) |
void | DrawRegionTinted (ALLEGRO_COLOR tint, float sx, float sy, float sw, float sh, float dx, float dy, int flags=0) |
void | DrawRotated (float cx, float cy, float dx, float dy, float angle, int flags=0) |
void | DrawRotatedTinted (ALLEGRO_COLOR tint, float cx, float cy, float dx, float dy, float angle, int flags=0) |
void | DrawScaledRoated (float cx, float cy, float dx, float dy, float xscale, float yscale, float angle, int flags=0) |
void | DrawScaledRoatedTinted (ALLEGRO_COLOR tint, float cx, float cy, float dx, float dy, float xscale, float yscale, float angle, int flags=0) |
void | DrawScaled (float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh, int flags=0) |
void | DrawScaledTinted (ALLEGRO_COLOR tint, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh, int flags=0) |
Static Public Member Functions | |
static int | GetNewFlags () |
static int | SetNewFlags (const int flags) |
static int | AddNewFlag (const int flag) |
static int | GetNewFormat () |
static int | SetNewFormat (const int format) |
static BitmapPlus & | GetTargetBitmap () |
static void | PutPixel (int x, int y, ALLEGRO_COLOR color) |
static void | PutBlendedPixel (int x, int y, ALLEGRO_COLOR color) |
static void | SetTargetBitmap (BitmapPlus &bitmap) |
Wrapper for ALLEGRO_BITMAP.