Gnash  0.8.10
Public Member Functions
gnash::image::ImageRGBA Class Reference

32-bit RGBA bitmap More...

#include <GnashImage.h>

Inheritance diagram for gnash::image::ImageRGBA:
gnash::image::GnashImage

List of all members.

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.

Detailed Description

32-bit RGBA bitmap

Channels are in RGBA order.


Constructor & Destructor Documentation

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]
gnash::image::ImageRGBA::~ImageRGBA ( )

Member Function Documentation

void gnash::image::ImageRGBA::setPixel ( size_t  x,
size_t  y,
value_type  r,
value_type  g,
value_type  b,
value_type  a 
)

The documentation for this class was generated from the following files: