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 saveToFile (const std::string &file, const std::string &format="auto")
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)


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

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::saveToFile ( const std::string &  file,
const std::string &  format = "auto" 
)

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::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 on Thu Jul 19 17:59:33 2007 for Mapnik by  doxygen 1.4.7