|
Beatmup
|
#include <mask_bitmap_access.h>
Public Member Functions | |
| void | putValue (unsigned char x) |
| Puts a properly scaled (0..MAX_UNNORM_VALUE) value at the current position. More... | |
| unsigned char | assign (int x) |
| Puts an unscaled (0..255) value at the current position. More... | |
| unsigned char | assign (int r, int g, int b) |
| unsigned char | assign (int r, int g, int b, int a) |
| unsigned char | assign (float x) |
| unsigned char | assign (float r, float g, float b) |
| unsigned char | assign (float r, float g, float b, float a) |
| void | operator<< (const pixint1 &P) |
| void | operator<< (const pixint3 &P) |
| void | operator<< (const pixint4 &P) |
| void | operator<< (const pixfloat1 &P) |
| void | operator<< (const pixfloat3 &P) |
| void | operator<< (const pixfloat4 &P) |
| void | operator= (const pixint1 &P) |
| void | operator= (const pixint3 &P) |
| void | operator= (const pixint4 &P) |
| void | operator= (const pixfloat1 &P) |
| void | operator= (const pixfloat3 &P) |
| void | operator= (const pixfloat4 &P) |
| SingleByteMaskWriter (AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Member Functions inherited from Beatmup::SingleByteMaskReader | |
| unsigned char | getValue () const |
| Returns 0..MAX_UNNORM_VALUE value at current position. More... | |
| unsigned char | getValue (int i) const |
| Returns 0..MAX_UNNORM_VALUE value at position shifted by i pixels in scanline order with respect to the current position. More... | |
| unsigned char | getValue (int x, int y) const |
| Returns 0..MAX_UNNORM_VALUE value at (x,y) position. More... | |
| pixint1 | operator() () const |
| Returns 0..255 value at current position. More... | |
| pixint1 | operator() (int x, int y) const |
| Returns 0..255 value at (x,y) position. More... | |
| const pixint1 | operator[] (int i) const |
| Returns 0..255 value at position shifted by i pixels in scanline order with respect to the current position. More... | |
| 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... | |
| SingleByteMaskReader (const AbstractBitmap &bitmap, int x=0, int y=0) | |
Public Member Functions inherited from Beatmup::MaskScanner< 8 > | |
| bool | operator< (const MaskScanner &another) const |
| pixtype * | operator* () const |
| int | getWidth () const |
| Returns bitmap width in pixels. More... | |
| int | getHeight () const |
| Returns bitmap height in pixels. More... | |
Additional Inherited Members | |
Public Types inherited from Beatmup::MaskScanner< 8 > | |
| typedef unsigned char | pixvaltype |
| typedef pixint1 | pixtype |
Public Attributes inherited from Beatmup::MaskScanner< 8 > | |
| const int | NUMBER_OF_CHANNELS |
| const int | NUMBER_OF_BITS |
| const int | MAX_VALUE |
| const int | MAX_UNNORM_VALUE |
Protected Member Functions inherited from Beatmup::MaskScanner< 8 > | |
| MaskScanner (const AbstractBitmap &bitmap) | |
Protected Attributes inherited from Beatmup::MaskScanner< 8 > | |
| unsigned char * | data |
| all bitmap data More... | |
| unsigned char * | ptr |
| pointer to current pixel More... | |
| unsigned char | bit |
| current position bit More... | |
| int | width |
| int | height |
| bitmap size in pixels More... | |
Private Member Functions inherited from Beatmup::BitmapContentModifier | |
| BitmapContentModifier (AbstractBitmap &bitmap) | |
Definition at line 367 of file mask_bitmap_access.h.
|
inline |
Definition at line 455 of file mask_bitmap_access.h.
|
inline |
Puts a properly scaled (0..MAX_UNNORM_VALUE) value at the current position.
Definition at line 372 of file mask_bitmap_access.h.
|
inline |
Puts an unscaled (0..255) value at the current position.
Definition at line 380 of file mask_bitmap_access.h.
|
inline |
Definition at line 385 of file mask_bitmap_access.h.
|
inline |
Definition at line 389 of file mask_bitmap_access.h.
|
inline |
Definition at line 393 of file mask_bitmap_access.h.
|
inline |
|
inline |
Definition at line 403 of file mask_bitmap_access.h.
|
inline |
Definition at line 407 of file mask_bitmap_access.h.
|
inline |
Definition at line 411 of file mask_bitmap_access.h.
|
inline |
Definition at line 415 of file mask_bitmap_access.h.
|
inline |
Definition at line 419 of file mask_bitmap_access.h.
|
inline |
Definition at line 423 of file mask_bitmap_access.h.
|
inline |
Definition at line 427 of file mask_bitmap_access.h.
|
inline |
Definition at line 431 of file mask_bitmap_access.h.
|
inline |
Definition at line 435 of file mask_bitmap_access.h.
|
inline |
Definition at line 439 of file mask_bitmap_access.h.
|
inline |
Definition at line 443 of file mask_bitmap_access.h.
|
inline |
Definition at line 447 of file mask_bitmap_access.h.
|
inline |
Definition at line 451 of file mask_bitmap_access.h.