| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
Image
This class represents a 32 bit RGBA image.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Static Methods | |||
|
|||
|
|||
|
|||
| Class Variables | |
__instance_size__ = 32
|
|
| Properties | |
|
background The background color of the image. |
|
|
Inherited from |
|
| Method Details |
__init__( (object)arg1, (int)arg2, (int)arg3) -> None :
C++ signature :
void __init__(_object*,int,int)
|
helper for pickle
|
blend( (Image)arg1, (int)arg2, (int)arg3, (Image)arg4, (float)arg5) -> None :
C++ signature :
void blend(mapnik::image_32 {lvalue},unsigned int,unsigned int,mapnik::image_32,float)
|
clear( (Image)arg1) -> None :
C++ signature :
void clear(mapnik::image_32 {lvalue})
|
composite( (Image)self, (Image)image [, (CompositeOp)mode=mapnik._mapnik.CompositeOp.src_over [, (float)opacity=1.0]]) -> None :
C++ signature :
void composite(mapnik::image_32 {lvalue},mapnik::image_32 {lvalue} [,mapnik::composite_mode_e=mapnik._mapnik.CompositeOp.src_over [,float=1.0]])
|
demultiply( (Image)arg1) -> None :
C++ signature :
void demultiply(mapnik::image_32 {lvalue})
|
frombuffer( (object)arg1) -> Image :
C++ signature :
boost::shared_ptr<mapnik::image_32> frombuffer(_object*)
|
fromstring( (str)arg1) -> Image :
C++ signature :
boost::shared_ptr<mapnik::image_32> fromstring(std::string)
|
get_pixel( (Image)arg1, (int)arg2, (int)arg3) -> int :
C++ signature :
unsigned int get_pixel(mapnik::image_32,int,int)
|
height( (Image)arg1) -> int :
C++ signature :
unsigned int height(mapnik::image_32 {lvalue})
|
is_solid( (Image)arg1) -> bool :
C++ signature :
bool is_solid(mapnik::image_32)
|
open( (str)arg1) -> Image :
C++ signature :
boost::shared_ptr<mapnik::image_32> open(std::string)
|
painted( (Image)arg1) -> bool :
C++ signature :
bool painted(mapnik::image_32)
|
premultiply( (Image)arg1) -> None :
C++ signature :
void premultiply(mapnik::image_32 {lvalue})
|
save( (Image)arg1, (str)arg2) -> None :
C++ signature :
void save(mapnik::image_32,std::string)
save( (Image)arg1, (str)arg2, (str)arg3) -> None :
C++ signature :
void save(mapnik::image_32,std::string,std::string)
save( (Image)arg1, (str)arg2, (str)arg3, (Palette)arg4) -> None :
C++ signature :
void save(mapnik::image_32,std::string,std::string,mapnik::rgba_palette)
|
set_alpha( (Image)arg1, (float)arg2) -> None :
Set the overall alpha channel of the Image
C++ signature :
void set_alpha(mapnik::image_32 {lvalue},float)
|
set_color_to_alpha( (Image)arg1, (Color)arg2) -> None :
Set a given color to the alpha channel of the Image
C++ signature :
void set_color_to_alpha(mapnik::image_32 {lvalue},mapnik::color)
|
set_grayscale_to_alpha( (Image)arg1) -> None :
Set the grayscale values to the alpha channel of the Image
C++ signature :
void set_grayscale_to_alpha(mapnik::image_32 {lvalue})
|
set_pixel( (Image)arg1, (int)arg2, (int)arg3, (Color)arg4) -> None :
C++ signature :
void set_pixel(mapnik::image_32 {lvalue},unsigned int,unsigned int,mapnik::color)
|
tostring( (Image)arg1) -> object :
C++ signature :
_object* tostring(mapnik::image_32)
tostring( (Image)arg1, (str)arg2) -> object :
C++ signature :
_object* tostring(mapnik::image_32,std::string)
tostring( (Image)arg1, (str)arg2, (Palette)arg3) -> object :
C++ signature :
_object* tostring(mapnik::image_32,std::string,mapnik::rgba_palette)
|
view( (Image)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> ImageView :
C++ signature :
mapnik::image_view<mapnik::ImageData<unsigned int> > view(mapnik::image_32 {lvalue},unsigned int,unsigned int,unsigned int,unsigned int)
|
width( (Image)arg1) -> int :
C++ signature :
unsigned int width(mapnik::image_32 {lvalue})
|
| Property Details |
backgroundThe background color of the image.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jun 3 18:45:01 2013 | http://epydoc.sourceforge.net |