Gnash  0.8.10
Public Types | Public Member Functions | Friends
gnash::image::pixel_iterator Struct Reference

The pixel_iterator class is a pixel-level adaptor for a GnashImage. More...

#include <ImageIterators.h>

List of all members.

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_iteratoroperator= (const pixel_iterator &other)
 Assign to a pixel_iterator.

Friends

class boost::iterator_core_access

Detailed Description

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.

Template Parameters:
PixelA class that determines the byte order of the colour value.

Member Typedef Documentation

typedef Pixel::iterator gnash::image::pixel_iterator::iterator

Constructor & Destructor Documentation

gnash::image::pixel_iterator::pixel_iterator ( iterator  it,
ImageType  t 
) [inline]

Construct a pixel_iterator.

gnash::image::pixel_iterator::pixel_iterator ( const pixel_iterator other) [inline]

Copy a pixel_iterator.


Member Function Documentation

pixel_iterator& gnash::image::pixel_iterator::operator= ( const pixel_iterator other) [inline]

Assign to a pixel_iterator.


Friends And Related Function Documentation

friend class boost::iterator_core_access [friend]

The documentation for this struct was generated from the following file: