libpng++  v0.2.5-1
C++ library for PNG images
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
png::image< pixel >::pixel_consumer Class Reference

The pixel buffer adapter for reading pixel data. More...

#include <image.hpp>

Inheritance diagram for png::image< pixel >::pixel_consumer:
Collaboration diagram for png::image< pixel >::pixel_consumer:

Public Member Functions

 pixel_consumer (image_info &info, pixbuf &pixels)
 
byteget_next_row (size_t pos)
 Returns the starting address of a pos-th row in the image's pixel buffer. More...
 
void reset (size_t pass)
 

Protected Attributes

pixbufm_pixbuf
 

Detailed Description

template<typename pixel>
class png::image< pixel >::pixel_consumer

The pixel buffer adapter for reading pixel data.

Constructor & Destructor Documentation

template<typename pixel >
png::image< pixel >::pixel_consumer::pixel_consumer ( image_info info,
pixbuf pixels 
)
inline

Member Function Documentation

template<typename pixel >
template<typename base_impl>
byte* png::image< pixel >::streaming_impl< base_impl >::get_next_row ( size_t  pos)
inlineinherited

Returns the starting address of a pos-th row in the image's pixel buffer.

template<typename pixel >
void png::image< pixel >::pixel_consumer::reset ( size_t  pass)
inline

Member Data Documentation


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