Beatmup
|
Triple byte bitmap reader. More...
#include <bitmap_access.h>
Public Types | |
typedef pixint3 | pixtype |
Public Types inherited from Beatmup::CustomBitmapScanner< pixbyte, 3 > | |
typedef pixbyte | pixvaltype |
Public Member Functions | |
pixint3 | operator() () const |
pixint3 | operator() (int x, int y) const |
const pixint3 | operator[] (int i) const |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position. More... | |
TripleByteBitmapReader (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Member Functions inherited from Beatmup::CustomBitmapScanner< pixbyte, 3 > | |
bool | operator< (const CustomBitmapScanner &another) const |
pixbyte * | 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 | MAX_VALUE = 255 |
Public Attributes inherited from Beatmup::CustomBitmapScanner< pixbyte, 3 > | |
const int | NUMBER_OF_CHANNELS |
Additional Inherited Members | |
Protected Member Functions inherited from Beatmup::CustomBitmapScanner< pixbyte, 3 > | |
pixbyte * | jump (int x, int y) const |
Retrieves pixel address at a given position;. More... | |
Protected Attributes inherited from Beatmup::CustomBitmapScanner< pixbyte, 3 > | |
pixbyte * | data |
bitmap data More... | |
pixbyte * | ptr |
pointer to the current pixel More... | |
int | width |
int | height |
bitmap sizes in pixels More... | |
Triple byte bitmap reader.
Definition at line 181 of file bitmap_access.h.
Definition at line 183 of file bitmap_access.h.
|
inline |
Definition at line 204 of file bitmap_access.h.
|
inline |
Definition at line 187 of file bitmap_access.h.
|
inline |
Definition at line 191 of file bitmap_access.h.
|
inline |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position.
Definition at line 199 of file bitmap_access.h.
const int Beatmup::TripleByteBitmapReader::MAX_VALUE = 255 |
Definition at line 185 of file bitmap_access.h.