33 #include "../../../maptools/Canvas.h"
50 m_paperConfig(paperConfig)
93 notifyAll(contextNotify);
104 m_paperConfig->getPaperSize(pw, ph);
106 double width = m_shadowPadding + pw;
107 double height = m_shadowPadding + ph;
116 return m_shadowColor;
121 m_shadowColor = color;
126 m_paperConfig = pConfig;
132 return m_paperConfig;
137 m_shadowPadding = padding;
142 return m_shadowPadding;
void setPixmap(te::color::RGBAColor **pixmap)
virtual void setPolygonFillColor(const te::color::RGBAColor &color)=0
It sets the color used to fill the draw of polygon geometries.
virtual void drawRectW(te::gm::Envelope box)
virtual void setShadowPadding(double padding)
virtual void draw(ContextItem context)
virtual void configCanvas(te::gm::Envelope box, bool resize=true)
virtual void setShadowColor(te::color::RGBAColor color)
te::color::RGBAColor m_shadowColor
virtual void setPaperConfig(PaperConfig *pConfig)
An Envelope defines a 2D rectangular region.
te::color::RGBAColor m_backgroundColor
virtual void setName(std::string name)
virtual double getShadowPadding()
A canvas is an abstraction of a drawing area.
virtual te::color::RGBAColor ** getImageW(te::gm::Envelope boxmm)
virtual void setPolygonContourColor(const te::color::RGBAColor &color)=0
It sets the pen color used to draw the boundary of polygon geometries.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
virtual te::color::RGBAColor getShadowColor()
virtual PaperConfig * getPaperConfig() const
static Context * getInstance()
This function is called to create an instance of the class.
te::map::Canvas * getCanvas()