Beatmup
|
Single byte bitmap reader. More...
#include <bitmap_access.h>
Public Types | |
typedef pixint1 | pixtype |
Public Types inherited from Beatmup::CustomBitmapScanner< pixbyte, 1 > | |
typedef pixbyte | pixvaltype |
Public Member Functions | |
pixint1 | operator() () const |
Returns value at current position. More... | |
pixint1 | operator() (int x, int y) const |
Returns value at pixel (x,y) position. More... | |
const pixint1 | operator[] (int i) const |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position. More... | |
SingleByteBitmapReader (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Member Functions inherited from Beatmup::CustomBitmapScanner< pixbyte, 1 > | |
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, 1 > | |
const int | NUMBER_OF_CHANNELS |
Additional Inherited Members | |
Protected Member Functions inherited from Beatmup::CustomBitmapScanner< pixbyte, 1 > | |
pixbyte * | jump (int x, int y) const |
Retrieves pixel address at a given position;. More... | |
Protected Attributes inherited from Beatmup::CustomBitmapScanner< pixbyte, 1 > | |
pixbyte * | data |
bitmap data More... | |
pixbyte * | ptr |
pointer to the current pixel More... | |
int | width |
int | height |
bitmap sizes in pixels More... | |
Single byte bitmap reader.
Definition at line 147 of file bitmap_access.h.
Definition at line 149 of file bitmap_access.h.
|
inline |
Definition at line 174 of file bitmap_access.h.
|
inline |
Returns value at current position.
Definition at line 156 of file bitmap_access.h.
|
inline |
Returns value at pixel (x,y) position.
Definition at line 163 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 170 of file bitmap_access.h.
const int Beatmup::SingleByteBitmapReader::MAX_VALUE = 255 |
Definition at line 151 of file bitmap_access.h.