Single byte bitmap writer.
More...
#include <bitmap_access.h>
|
void | assign (int x) |
|
void | assign (int r, int g, int b) |
|
void | assign (int r, int g, int b, int a) |
|
void | assign (float x) |
|
void | assign (float r, float g, float b) |
|
void | 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) |
|
| SingleByteBitmapWriter (AbstractBitmap &bitmap, int x=0, int y=0) |
|
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) |
|
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) |
|
Single byte bitmap writer.
Definition at line 336 of file bitmap_access.h.
◆ SingleByteBitmapWriter()
Beatmup::SingleByteBitmapWriter::SingleByteBitmapWriter |
( |
AbstractBitmap & |
bitmap, |
|
|
int |
x = 0 , |
|
|
int |
y = 0 |
|
) |
| |
|
inline |
Definition at line 410 of file bitmap_access.h.
BitmapContentModifier(AbstractBitmap &bitmap)
SingleByteBitmapReader(const AbstractBitmap &bitmap, int x=0, int y=0)
jobject jlong jint jint y
Beatmup::InternalBitmap * bitmap
◆ assign() [1/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
int |
x | ) |
|
|
inline |
Definition at line 338 of file bitmap_access.h.
pixbyte * ptr
pointer to the current pixel
pixbyte clipPixint(int x)
Clips an integer pixel value to 0..255 range.
◆ assign() [2/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
inline |
Definition at line 342 of file bitmap_access.h.
jobject jlong jint jint jint jint g
jobject jlong jint jint jint jint jint b
jobject jlong jint jint jint r
◆ assign() [3/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a |
|
) |
| |
|
inline |
◆ assign() [4/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
float |
x | ) |
|
|
inline |
Definition at line 350 of file bitmap_access.h.
pixbyte pixfloat2pixbyte(pixfloat x)
Converts a floating point pixel value to a 0..255 integer.
◆ assign() [5/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
|
inline |
◆ assign() [6/6]
void Beatmup::SingleByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
inline |
◆ operator<<() [1/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator<<() [2/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator<<() [3/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator<<() [4/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator<<() [5/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator<<() [6/6]
void Beatmup::SingleByteBitmapWriter::operator<< |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
◆ operator=() [1/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator=() [2/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator=() [3/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator=() [4/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator=() [5/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator=() [6/6]
void Beatmup::SingleByteBitmapWriter::operator= |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
The documentation for this class was generated from the following file: