|
Gnash
0.8.10
|
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. | |
| pixel_iterator (const pixel_iterator &other) | |
| Copy a pixel_iterator. | |
| pixel_iterator & | operator= (const pixel_iterator &other) |
| Assign to a pixel_iterator. | |
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 |
| gnash::image::pixel_iterator< Pixel >::pixel_iterator | ( | iterator | it, |
| ImageType | t | ||
| ) | [inline] |
Construct a pixel_iterator.
| gnash::image::pixel_iterator< Pixel >::pixel_iterator | ( | const pixel_iterator< Pixel > & | other | ) | [inline] |
Copy a pixel_iterator.
| pixel_iterator& gnash::image::pixel_iterator< Pixel >::operator= | ( | const pixel_iterator< Pixel > & | other | ) | [inline] |
Assign to a pixel_iterator.
friend class boost::iterator_core_access [friend] |
1.7.6.1