Quad 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) |
|
| QuadByteBitmapWriter (AbstractBitmap &bitmap, int x=0, int y=0) |
|
pixint4 | operator() () const |
|
pixint4 | operator() (int x, int y) const |
|
const pixint4 | operator[] (int i) const |
| Retrieves a value at position shifted by i pixels in scanline order with respect to the current position. More...
|
|
| QuadByteBitmapReader (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) |
|
Quad byte bitmap writer.
Definition at line 511 of file bitmap_access.h.
◆ QuadByteBitmapWriter()
Beatmup::QuadByteBitmapWriter::QuadByteBitmapWriter |
( |
AbstractBitmap & |
bitmap, |
|
|
int |
x = 0 , |
|
|
int |
y = 0 |
|
) |
| |
|
inline |
Definition at line 607 of file bitmap_access.h.
BitmapContentModifier(AbstractBitmap &bitmap)
QuadByteBitmapReader(const AbstractBitmap &bitmap, int x=0, int y=0)
jobject jlong jint jint y
Beatmup::InternalBitmap * bitmap
◆ assign() [1/6]
void Beatmup::QuadByteBitmapWriter::assign |
( |
int |
x | ) |
|
|
inline |
Definition at line 513 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.
static const struct Beatmup::@1 CHANNELS_4
◆ assign() [2/6]
void Beatmup::QuadByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
inline |
Definition at line 518 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::QuadByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a |
|
) |
| |
|
inline |
Definition at line 525 of file bitmap_access.h.
jobject jlong jint jint jint jint jint jint a
◆ assign() [4/6]
void Beatmup::QuadByteBitmapWriter::assign |
( |
float |
x | ) |
|
|
inline |
Definition at line 532 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::QuadByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
|
inline |
◆ assign() [6/6]
void Beatmup::QuadByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
inline |
◆ operator<<() [1/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator<<() [2/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator<<() [3/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator<<() [4/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator<<() [5/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator<<() [6/6]
void Beatmup::QuadByteBitmapWriter::operator<< |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
◆ operator=() [1/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator=() [2/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator=() [3/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator=() [4/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator=() [5/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator=() [6/6]
void Beatmup::QuadByteBitmapWriter::operator= |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
The documentation for this class was generated from the following file: