27 #include "../../../common/STLUtils.h"
28 #include "../../../se/Mark.h"
29 #include "../../../maptools/MarkRendererManager.h"
37 #include <QtGui/QImage>
38 #include <QtGui/QPainter>
53 QImage* image =
GetImage(rgba, m_size, m_size);
55 for(
int i=0; i<numPoints; ++i)
58 painter->drawImage(p, *image);
MarkSymbol(te::se::Mark *mark, std::size_t size)
Constructor.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
This file contains a class that specialize the QwtSymbol to draw a Terralib Mark. ...
This file contains a set of utility chart functions.
void Free(std::vector< T * > *v)
This function can be applied to a pointer to a vector of pointers.
void drawSymbols(QPainter *painter, const QPointF *point, int numPoints) const
Set the scatter data.
static MarkRendererManager & getInstance()
It returns a reference to the singleton instance.
TEQTWIDGETSEXPORT QImage * GetImage(te::color::RGBAColor **img, int width, int height)
It creates a QImage from an RGBA color array.
A Mark specifies a geometric shape and applies coloring to it.