|
Gnash
0.8.11dev
|
24-bit RGB bitmap More...
#include <GnashImage.h>
Public Member Functions | |
| ImageRGB (size_t width, size_t height) | |
| Create an empty RGB image with uninitialized data. More... | |
| ImageRGB (iterator data, size_t width, size_t height) | |
| Create an ImageRGB taking ownership of the data. More... | |
| virtual | ~ImageRGB () |
Public Member Functions inherited from gnash::image::GnashImage | |
| virtual | ~GnashImage () |
| ImageType | type () const |
| Return the ImageType of the image. More... | |
| ImageLocation | location () const |
| Return the ImageLocation of the image. More... | |
| size_t | size () const |
| Get the size of the image buffer. More... | |
| virtual size_t | stride () const |
| Get the pitch of the image buffer. More... | |
| size_t | channels () const |
| Get the number of channels. More... | |
| size_t | width () const |
| Get the image's width. More... | |
| size_t | height () const |
| Get the image's width. More... | |
| void | update (const_iterator data) |
| Copy image data from a buffer. More... | |
| void | update (const GnashImage &from) |
| Copy image data from another image data. More... | |
| virtual iterator | begin () |
| Access the raw data. More... | |
| virtual const_iterator | begin () const |
| Access the raw data. More... | |
| iterator | end () |
| An iterator to the end of the data. More... | |
| const_iterator | end () const |
| An iterator to the end of the data. More... | |
Additional Inherited Members | |
Public Types inherited from gnash::image::GnashImage | |
| typedef std::uint8_t | value_type |
| typedef std::unique_ptr< value_type[]> | container_type |
| typedef value_type * | iterator |
| typedef const value_type * | const_iterator |
Protected Member Functions inherited from gnash::image::GnashImage | |
| GnashImage (iterator data, size_t width, size_t height, ImageType type, ImageLocation location=GNASH_IMAGE_CPU) | |
| Construct a GnashImage from a data buffer, taking ownership of the data. More... | |
| GnashImage (size_t width, size_t height, ImageType type, ImageLocation location=GNASH_IMAGE_CPU) | |
| Construct an empty GnashImage. More... | |
Protected Attributes inherited from gnash::image::GnashImage | |
| const ImageType | _type |
| The type of the image: RGBA or RGB. More... | |
| const ImageLocation | _location |
| Image data location (CPU or GPU) More... | |
| const size_t | _width |
| Width of image, in pixels. More... | |
| const size_t | _height |
| Height of image, in pixels. More... | |
| container_type | _data |
| Data if held in this class. More... | |
24-bit RGB bitmap
Channels are in RGB order.
| gnash::image::ImageRGB::ImageRGB | ( | size_t | width, |
| size_t | height | ||
| ) |
Create an empty RGB image with uninitialized data.
|
inline |
Create an ImageRGB taking ownership of the data.
|
virtual |
1.8.12