|
Gnash
0.8.10
|
32-bit RGBA bitmap More...
#include <GnashImage.h>
Public Member Functions | |
| ImageRGBA (size_t width, size_t height) | |
| Create an empty RGB image with uninitialized data. | |
| ImageRGBA (iterator data, size_t width, size_t height) | |
| ~ImageRGBA () | |
| void | setPixel (size_t x, size_t y, value_type r, value_type g, value_type b, value_type a) |
| Set pixel value. | |
32-bit RGBA bitmap
Channels are in RGBA order.
| gnash::image::ImageRGBA::ImageRGBA | ( | size_t | width, |
| size_t | height | ||
| ) |
Create an empty RGB image with uninitialized data.
| gnash::image::ImageRGBA::ImageRGBA | ( | iterator | data, |
| size_t | width, | ||
| size_t | height | ||
| ) | [inline] |
| void gnash::image::ImageRGBA::setPixel | ( | size_t | x, |
| size_t | y, | ||
| value_type | r, | ||
| value_type | g, | ||
| value_type | b, | ||
| value_type | a | ||
| ) |
Set pixel value.
TODO: move in base class ?
References gnash::image::GnashImage::_height, gnash::image::GnashImage::_width, assert, data, gnash::key::r, gnash::image::scanline(), and x.
1.7.6.1