|
|
using | iter = typename std::vector< PixelT >::iterator |
| |
|
using | const_iter = typename std::vector< PixelT >::const_iterator |
| |
|
|
| Image (int width, int height, PixelT fill=PixelT()) |
| |
|
template<typename ConverterT > |
| void | loadFromBuffer (const uint8_t *buffer, int width, int height, PixelConverter< ConverterT > converter) |
| |
|
void | fill (const PixelT &color) |
| |
|
iter | begin () |
| |
|
iter | end () |
| |
|
const_iter | begin () const |
| |
|
const_iter | end () const |
| |
|
int | getWidth () const |
| |
|
int | getHeight () const |
| |
|
int | getPixelCount () const |
| |
|
int | getSize () const |
| |
|
const std::vector< PixelT > & | getData () const |
| |
|
const PixelT & | getPixel (int x, int y) const |
| |
|
PixelT & | getPixel (int x, int y) |
| |
|
void | setPixel (int x, int y, const PixelT &p) |
| |
|
PixelT & | operator[] (int idx) |
| |
|
const PixelT & | operator[] (int idx) const |
| |
|
PixelT & | operator() (int x, int y) |
| |
|
const PixelT & | operator() (int x, int y) const |
| |
|
|
int | index (int x, int y) const |
| |
|
|
std::vector< PixelT > | data |
| |
|
int | width |
| |
|
int | height |
| |
template<typename PixelT>
class ImageLib::Image< PixelT >
Definition at line 14 of file Image.h.
The documentation for this class was generated from the following file: