mapnik::Image32 Class Reference

#include <graphics.hpp>

List of all members.

Public Member Functions

 Image32 (int width, int height)
 Image32 (Image32 const &rhs)
 ~Image32 ()
void setBackground (Color const &background)
const ColorgetBackground () const
const ImageData32data () const
ImageData32data ()
const unsigned char * raw_data () const
unsigned char * raw_data ()
image_view< ImageData32get_view (unsigned x, unsigned y, unsigned w, unsigned h)
void setPixel (int x, int y, unsigned int rgba)
void blendPixel (int x, int y, unsigned int rgba1, int t)
unsigned width () const
unsigned height () const
void set_rectangle (int x0, int y0, ImageData32 const &data)
void set_rectangle_alpha (int x0, int y0, const ImageData32 &data)
void set_rectangle_alpha2 (ImageData32 const &data, unsigned x0, unsigned y0, float opacity)


Constructor & Destructor Documentation

mapnik::Image32::Image32 ( int  width,
int  height 
)

mapnik::Image32::Image32 ( Image32 const &  rhs  ) 

mapnik::Image32::~Image32 (  ) 


Member Function Documentation

void mapnik::Image32::blendPixel ( int  x,
int  y,
unsigned int  rgba1,
int  t 
) [inline]

ImageData32& mapnik::Image32::data (  )  [inline]

const ImageData32 & mapnik::Image32::data (  )  const

Referenced by mapnik::save_to_file().

image_view<ImageData32> mapnik::Image32::get_view ( unsigned  x,
unsigned  y,
unsigned  w,
unsigned  h 
) [inline]

const Color & mapnik::Image32::getBackground (  )  const

unsigned mapnik::Image32::height (  )  const [inline]

unsigned char* mapnik::Image32::raw_data (  )  [inline]

const unsigned char* mapnik::Image32::raw_data (  )  const [inline]

void mapnik::Image32::set_rectangle ( int  x0,
int  y0,
ImageData32 const &  data 
) [inline]

void mapnik::Image32::set_rectangle_alpha ( int  x0,
int  y0,
const ImageData32 data 
) [inline]

void mapnik::Image32::set_rectangle_alpha2 ( ImageData32 const &  data,
unsigned  x0,
unsigned  y0,
float  opacity 
) [inline]

void mapnik::Image32::setBackground ( Color const &  background  ) 

void mapnik::Image32::setPixel ( int  x,
int  y,
unsigned int  rgba 
) [inline]

unsigned mapnik::Image32::width (  )  const [inline]


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

Generated for Mapnik by doxygen 1.5.8