26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_WELLKNOWNMARKRENDERER_H
27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_WELLKNOWNMARKRENDERER_H
30 #include "../../../maptools/AbstractMarkRenderer.h"
31 #include "../Config.h"
34 #include <QtGui/QPainter>
86 void getSupportedMarks(std::vector<std::string>& marks)
const;
102 void setup(QImage* img);
113 void draw(QImage* img, QPainterPath& path);
143 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_WELLKNOWNMARKRENDERER_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
QPainterPath m_ellipsePath
Pre-defined path to ellipse mark.
An abstract class for conversion of Symbology Enconding Mark elements to an image pattern...
QPainterPath m_hexagonPath
Pre-defined path to hexagon mark.
static std::map< std::string, MarkType > sm_markMap
A map that associates a well-known mark name to the correct mark type.
MarkType
This enum specifies mark types handle by this renderer.
QPainterPath m_circlePath
Pre-defined path to circle mark.
QPainterPath m_squarePath
Pre-defined path to square mark.
QPainterPath m_xPath
Pre-defined path to x mark.
QBrush m_brush
The pen used to draw the mark patterns.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
QPainterPath m_trianglePath
Pre-defined path to triangle mark.
QPainterPath m_octagonPath
Pre-defined path to octagon mark.
QPainterPath m_starPath
Pre-defined path to star mark.
QPainterPath m_crossPath
Pre-defined path to cross mark.
QPainterPath m_diamondPath
Pre-defined path to diamond mark.
QPainterPath m_semiCirclePath
Pre-defined path to semicircle mark.
QPainter m_painter
The painter used to draw the mark patterns.
A concrete renderer based on Qt4 for conversion of Symbology Enconding Mark elements to an image patt...
QPainterPath m_pentagonPath
Pre-defined path to pentagon mark.
QPen m_pen
The pen used to draw the mark patterns.
A Mark specifies a geometric shape and applies coloring to it.