Triple 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) |
|
| TripleByteBitmapWriter (AbstractBitmap &bitmap, int x=0, int y=0) |
|
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) |
|
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) |
|
Triple byte bitmap writer.
Definition at line 417 of file bitmap_access.h.
◆ TripleByteBitmapWriter()
Beatmup::TripleByteBitmapWriter::TripleByteBitmapWriter |
( |
AbstractBitmap & |
bitmap, |
|
|
int |
x = 0 , |
|
|
int |
y = 0 |
|
) |
| |
|
inline |
Definition at line 504 of file bitmap_access.h.
BitmapContentModifier(AbstractBitmap &bitmap)
TripleByteBitmapReader(const AbstractBitmap &bitmap, int x=0, int y=0)
jobject jlong jint jint y
Beatmup::InternalBitmap * bitmap
◆ assign() [1/6]
void Beatmup::TripleByteBitmapWriter::assign |
( |
int |
x | ) |
|
|
inline |
Definition at line 419 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::@2 CHANNELS_3
◆ assign() [2/6]
void Beatmup::TripleByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b |
|
) |
| |
|
inline |
Definition at line 423 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::TripleByteBitmapWriter::assign |
( |
int |
r, |
|
|
int |
g, |
|
|
int |
b, |
|
|
int |
a |
|
) |
| |
|
inline |
◆ assign() [4/6]
void Beatmup::TripleByteBitmapWriter::assign |
( |
float |
x | ) |
|
|
inline |
Definition at line 435 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::TripleByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
|
inline |
◆ assign() [6/6]
void Beatmup::TripleByteBitmapWriter::assign |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
inline |
◆ operator<<() [1/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator<<() [2/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator<<() [3/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator<<() [4/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator<<() [5/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator<<() [6/6]
void Beatmup::TripleByteBitmapWriter::operator<< |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
◆ operator=() [1/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixint1 & |
P | ) |
|
|
inline |
◆ operator=() [2/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixint3 & |
P | ) |
|
|
inline |
◆ operator=() [3/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixint4 & |
P | ) |
|
|
inline |
◆ operator=() [4/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixfloat1 & |
P | ) |
|
|
inline |
◆ operator=() [5/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixfloat3 & |
P | ) |
|
|
inline |
◆ operator=() [6/6]
void Beatmup::TripleByteBitmapWriter::operator= |
( |
const pixfloat4 & |
P | ) |
|
|
inline |
The documentation for this class was generated from the following file: