32 #include "../../../maptools/Canvas.h" 
   49   m_planarGridProperties(0),
 
   50   m_geodesicGridProperties(0)
 
   71     delete m_gridGeodesic;
 
   75   if(m_planarGridProperties)
 
   77     delete m_planarGridProperties;
 
   78     m_planarGridProperties = 0;
 
   81   if(m_geodesicGridProperties)
 
   83     delete m_geodesicGridProperties;
 
   84     m_geodesicGridProperties = 0;
 
   97   drawGrid(canvas, utils);
 
  115   notifyAll(contextNotify);
 
  123   int srid = m_layer->getSRID();
 
  124   double scale = getScale();
 
  130   m_gridPlanar->setMapScale(scale);
 
  131   m_gridPlanar->draw(canvas, planarBox, srid);
 
  137   m_gridGeodesic->setMapScale(scale);
 
  138   m_gridGeodesic->draw(canvas, geoBox, srid);
 
  147   pro_grid.
setId(
"unknown");
 
  148   std::string sValuePlanar = 
"Settings";
 
  153     Property propPlanar = m_gridPlanar->getProperty();
 
  159     Property propGeodesic = m_gridGeodesic->getProperty();
 
  163   m_properties->addProperty(pro_grid);
 
  178   if(!pro_grid_planar.
isNull())
 
  180     m_gridPlanar->updateProperty(pro_grid_planar);
 
  185   if(!pro_grid_geodesic.
isNull())
 
  187     m_gridGeodesic->updateProperty(pro_grid_geodesic);
 
void setPixmap(te::color::RGBAColor **pixmap)
 
void addSubProperty(Property property)
 
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 configCanvas(te::gm::Envelope box, bool resize=true)
 
GridPlanarModel * m_gridPlanar
 
void setValue(typename ValueType value, LayoutPropertyDataType type)
 
virtual void draw(ContextItem context)
 
virtual void updateProperties(te::layout::Properties *properties)
 
virtual void updateProperties(te::layout::Properties *properties)
 
PlanarGridSettingsConfigProperties * m_planarGridProperties
 
virtual void drawGrid(te::map::Canvas *canvas, Utils *utils)
 
An Envelope defines a 2D rectangular region. 
 
virtual void setHasGridWindows(bool windows)
 
#define TE_OPAQUE
For an RGBA color this is the value of the alpha-channel for totally opaque. 
 
virtual te::layout::Properties * getProperties() const 
 
Properties * m_properties
 
virtual bool containsSubProperty(Property subProperty)
 
A canvas is an abstraction of a drawing area. 
 
virtual Properties * getProperties() const 
 
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. 
 
void setName(std::string name)
 
virtual void setLineColor(const te::color::RGBAColor &color)=0
It sets the pen color used to draw line geometries. 
 
static Context * getInstance()
This function is called to create an instance of the class. 
 
void setId(std::string id)
 
virtual bool contains(Property property)
 
GridGeodesicModel * m_gridGeodesic
 
te::map::Canvas * getCanvas()
 
virtual void configGeoCanvas(te::gm::Envelope boxgeo, te::gm::Envelope boxmm, bool resize=true)
 
GeodesicGridSettingsConfigProperties * m_geodesicGridProperties