26 #ifndef __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H 27 #define __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H 30 #include "../../common/Singleton.h" 31 #include "../../geometry/Enums.h" 36 #include <QApplication> 38 #include <QPaintDevice> 80 void drawRepository(
const std::string& source,
const te::gm::Envelope& e,
int srid);
92 void drawVertexes(
const std::vector<te::gm::LineString*>& lines);
100 void setPolygonStyle(
const QColor& fillColor,
const QColor& contourColor,
const std::size_t& contourWidth);
102 void setPointStyle(
const QString& mark,
const QColor& fillColor,
const QColor& contourColor,
103 const std::size_t& contourWidth,
const std::size_t& size);
105 void setLineStyle(
const QColor& lineColor,
const std::size_t& lineWidth);
107 void setTextStyle(
const QColor& textColor,
const std::size_t& textPointSize);
119 void setupDefaultStyle();
152 #endif // __TERRALIB_EDIT_QT_INTERNAL_RENDERER_H te::gm::GeomType m_currentGeomType
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
#define TEEDITQTEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the TerraLib Qt Edit module.
te::qt::widgets::Canvas * m_canvas
std::size_t m_polygonContourWidth
LineString is a curve with linear interpolation between points.
std::size_t m_pointContourWidth
A point with x and y coordinate values.
An Envelope defines a 2D rectangular region.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
std::size_t m_textPointSize
This is a singleton for rendering geometries and features.
LineDashStyle
This enum encodes enumerated values telling how lines should be drawn. e.g. as a plain line or dash l...
QColor m_polygonContourColor
QColor m_pointContourColor
QColor m_polygonFillColor
te::map::LineDashStyle m_lineDashStyle
Template support for singleton pattern.