Single float bitmap reader.
More...
#include <bitmap_access.h>
Single float bitmap reader.
Definition at line 241 of file bitmap_access.h.
◆ pixtype
◆ SingleFloatBitmapReader()
Beatmup::SingleFloatBitmapReader::SingleFloatBitmapReader |
( |
const AbstractBitmap & |
bitmap, |
|
|
int |
x = 0 , |
|
|
int |
y = 0 |
|
) |
| |
|
inline |
Definition at line 262 of file bitmap_access.h.
CustomBitmapScanner(const AbstractBitmap &bitmap, int x=0, int y=0)
jobject jlong jint jint y
Beatmup::InternalBitmap * bitmap
◆ operator()() [1/2]
pixfloat1 Beatmup::SingleFloatBitmapReader::operator() |
( |
| ) |
const |
|
inline |
Definition at line 247 of file bitmap_access.h.
248 return pixfloat1{ *
ptr };
pixfloat * ptr
pointer to the current pixel
◆ operator()() [2/2]
pixfloat1 Beatmup::SingleFloatBitmapReader::operator() |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
inline |
◆ operator[]()
const pixfloat1 Beatmup::SingleFloatBitmapReader::operator[] |
( |
int |
i | ) |
const |
|
inline |
Retrieves a value at position shifted by i pixels in scanline order with respect to the current position.
Definition at line 258 of file bitmap_access.h.
259 return pixfloat1{
ptr[i] };
◆ MAX_VALUE
const float Beatmup::SingleFloatBitmapReader::MAX_VALUE = 1.0f |
The documentation for this class was generated from the following file: