Gnash
0.8.11dev
|
The pixel_iterator class is a pixel-level adaptor for a GnashImage. More...
#include <ImageIterators.h>
Public Types | |
typedef std::ptrdiff_t | difference_type |
typedef Pixel::iterator | iterator |
Public Member Functions | |
pixel_iterator (iterator it, ImageType t) | |
Construct a pixel_iterator. More... | |
pixel_iterator (const pixel_iterator &other) | |
Copy a pixel_iterator. More... | |
pixel_iterator & | operator= (const pixel_iterator &other) |
Assign to a pixel_iterator. More... | |
Friends | |
class | boost::iterator_core_access |
The pixel_iterator class is a pixel-level adaptor for a GnashImage.
Instead of iterating byte-by-byte, this iterator provides access at a whole-pixel level. This makes it possible to assign custom colour values.
Pixel | A class that determines the byte order of the colour value. |
typedef std::ptrdiff_t gnash::image::pixel_iterator< Pixel >::difference_type |
typedef Pixel::iterator gnash::image::pixel_iterator< Pixel >::iterator |
|
inline |
Construct a pixel_iterator.
|
inline |
Copy a pixel_iterator.
|
inline |
Assign to a pixel_iterator.
|
friend |