|
Beatmup
|
A generic to access bitmap data. More...
#include <bitmap_access.h>
Public Types | |
| typedef pixel | pixvaltype |
Public Member Functions | |
| bool | operator< (const CustomBitmapScanner &another) const |
| pixel * | operator* () const |
| void | operator++ (int) |
| Move the current position ONE PIXEL forward. More... | |
| void | operator+= (const int n) |
| Move the current position N pixels forward. More... | |
| void | goTo (int x, int y) |
| Changes current position. More... | |
| int | getWidth () const |
| Returns bitmap width in pixels. More... | |
| int | getHeight () const |
| Returns bitmap height in pixels. More... | |
| CustomBitmapScanner (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Attributes | |
| const int | NUMBER_OF_CHANNELS = num_channels |
Protected Member Functions | |
| pixel * | jump (int x, int y) const |
| Retrieves pixel address at a given position;. More... | |
Protected Attributes | |
| pixel * | data |
| bitmap data More... | |
| pixel * | ptr |
| pointer to the current pixel More... | |
| int | width |
| int | height |
| bitmap sizes in pixels More... | |
A generic to access bitmap data.
Definition at line 66 of file bitmap_access.h.
| typedef pixel Beatmup::CustomBitmapScanner< pixel, num_channels >::pixvaltype |
Definition at line 79 of file bitmap_access.h.
|
inline |
Definition at line 130 of file bitmap_access.h.
|
inlineprotected |
|
inline |
Definition at line 83 of file bitmap_access.h.
|
inline |
Definition at line 87 of file bitmap_access.h.
|
inline |
|
inline |
Move the current position N pixels forward.
Definition at line 102 of file bitmap_access.h.
|
inline |
Changes current position.
Definition at line 109 of file bitmap_access.h.
|
inline |
Returns bitmap width in pixels.
Definition at line 119 of file bitmap_access.h.
|
inline |
Returns bitmap height in pixels.
Definition at line 126 of file bitmap_access.h.
|
protected |
bitmap data
Definition at line 68 of file bitmap_access.h.
|
protected |
pointer to the current pixel
Definition at line 69 of file bitmap_access.h.
|
protected |
Definition at line 70 of file bitmap_access.h.
|
protected |
bitmap sizes in pixels
Definition at line 70 of file bitmap_access.h.
| const int Beatmup::CustomBitmapScanner< pixel, num_channels >::NUMBER_OF_CHANNELS = num_channels |
Definition at line 81 of file bitmap_access.h.