|
Gnash
0.8.10
|
Adapt a pixel_iterator to use 32-bit values in ARGB byte order. More...
#include <ImageIterators.h>
Public Types | |
| typedef GnashImage::iterator | iterator |
Public Member Functions | |
| ARGB (iterator &i, ImageType t) | |
| Construct an ARGB pixel helper. | |
| ARGB & | operator= (const ARGB &other) |
| Standard assignment just copies bytes. | |
| const ARGB & | operator= (boost::uint32_t pixel) const |
| Writes a 32-bit unsigned value in ARGB byte order to the image. | |
| operator boost::uint32_t () const | |
| Convert to uint32_t in ARGB order. | |
Adapt a pixel_iterator to use 32-bit values in ARGB byte order.
| gnash::image::ARGB::operator boost::uint32_t | ( | ) | const [inline] |
Convert to uint32_t in ARGB order.
References gnash::image::TYPE_RGBA, and gnash::image::TYPE_RGB.
Standard assignment just copies bytes.
Underlying bytes are really in RGBA order, so we use that.
References gnash::image::TYPE_RGBA, and gnash::image::TYPE_RGB.
| const ARGB& gnash::image::ARGB::operator= | ( | boost::uint32_t | pixel | ) | const [inline] |
Writes a 32-bit unsigned value in ARGB byte order to the image.
Take note of the different byte order!
References gnash::image::TYPE_RGBA, and gnash::image::TYPE_RGB.
1.7.5