#include <image_data.hpp>
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 () |
typedef T mapnik::ImageData< T >::pixel_type |
mapnik::ImageData< T >::ImageData | ( | unsigned | width, | |
unsigned | height | |||
) | [inline] |
mapnik::ImageData< T >::ImageData | ( | const ImageData< T > & | rhs | ) | [inline] |
mapnik::ImageData< T >::~ImageData | ( | ) | [inline] |
unsigned char* mapnik::ImageData< T >::getBytes | ( | ) | [inline] |
const unsigned char* mapnik::ImageData< T >::getBytes | ( | ) | const [inline] |
Referenced by mapnik::agg_renderer< T >::process(), and mapnik::Image32::raw_data().
T* mapnik::ImageData< T >::getData | ( | ) | [inline] |
const T* mapnik::ImageData< T >::getData | ( | ) | const [inline] |
Referenced by mapnik::cairo_pattern::cairo_pattern().
T* mapnik::ImageData< T >::getRow | ( | unsigned | row | ) | [inline] |
const T* mapnik::ImageData< T >::getRow | ( | unsigned | row | ) | const [inline] |
unsigned mapnik::ImageData< T >::height | ( | ) | const [inline] |
const T& mapnik::ImageData< T >::operator() | ( | unsigned | i, | |
unsigned | j | |||
) | const [inline] |
T& mapnik::ImageData< T >::operator() | ( | unsigned | i, | |
unsigned | j | |||
) | [inline] |
void mapnik::ImageData< T >::set | ( | const T & | t | ) | [inline] |
Referenced by mapnik::reduce_1(), and mapnik::Image32::setBackground().
void mapnik::ImageData< T >::setRow | ( | unsigned | row, | |
unsigned | x0, | |||
unsigned | x1, | |||
const T * | buf | |||
) | [inline] |
void mapnik::ImageData< T >::setRow | ( | unsigned | row, | |
const T * | buf, | |||
unsigned | size | |||
) | [inline] |
Referenced by mapnik::PngReader::read().
unsigned mapnik::ImageData< T >::width | ( | ) | const [inline] |