mapnik::ImageData< T > Class Template Reference

#include <image_data.hpp>

List of all members.

Public Types

typedef T pixel_type

Public Member Functions

 ImageData (unsigned width, unsigned height)
 ImageData (const ImageData< T > &rhs)
T & operator() (unsigned i, unsigned j)
const T & operator() (unsigned i, unsigned j) const
unsigned width () const
unsigned height () const
void set (const T &t)
const T * getData () const
T * getData ()
const unsigned char * getBytes () const
unsigned char * getBytes ()
const T * getRow (unsigned row) const
T * getRow (unsigned row)
void setRow (unsigned row, const T *buf, unsigned size)
void setRow (unsigned row, unsigned x0, unsigned x1, const T *buf)
 ~ImageData ()

template<class T>
class mapnik::ImageData< T >


Member Typedef Documentation

template<class T >
typedef T mapnik::ImageData< T >::pixel_type


Constructor & Destructor Documentation

template<class T >
mapnik::ImageData< T >::ImageData ( unsigned  width,
unsigned  height 
) [inline]

template<class T >
mapnik::ImageData< T >::ImageData ( const ImageData< T > &  rhs  )  [inline]

template<class T >
mapnik::ImageData< T >::~ImageData (  )  [inline]


Member Function Documentation

template<class T >
unsigned char* mapnik::ImageData< T >::getBytes (  )  [inline]

template<class T >
const unsigned char* mapnik::ImageData< T >::getBytes (  )  const [inline]

template<class T >
T* mapnik::ImageData< T >::getData (  )  [inline]

template<class T >
const T* mapnik::ImageData< T >::getData (  )  const [inline]

template<class T >
T* mapnik::ImageData< T >::getRow ( unsigned  row  )  [inline]

template<class T >
const T* mapnik::ImageData< T >::getRow ( unsigned  row  )  const [inline]

template<class T >
unsigned mapnik::ImageData< T >::height (  )  const [inline]

template<class T >
const T& mapnik::ImageData< T >::operator() ( unsigned  i,
unsigned  j 
) const [inline]

template<class T >
T& mapnik::ImageData< T >::operator() ( unsigned  i,
unsigned  j 
) [inline]

template<class T >
void mapnik::ImageData< T >::set ( const T &  t  )  [inline]

template<class T >
void mapnik::ImageData< T >::setRow ( unsigned  row,
unsigned  x0,
unsigned  x1,
const T *  buf 
) [inline]

template<class T >
void mapnik::ImageData< T >::setRow ( unsigned  row,
const T *  buf,
unsigned  size 
) [inline]

Referenced by mapnik::PngReader::read().

template<class T >
unsigned mapnik::ImageData< T >::width (  )  const [inline]


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

Generated for Mapnik by doxygen 1.5.7.1