27 #include "../../../se/Fill.h"
28 #include "../../../se/ParameterValue.h"
29 #include "../../../se/Graphic.h"
30 #include "../../../se/Mark.h"
31 #include "../../../se/Stroke.h"
40 std::string* markName =
new std::string(
"circle");
65 style->
setGraphic(this->getGraphic()->clone());
77 m_graphic = newGraphic;
82 if(!m_graphic->getMarks().empty())
84 return m_graphic->getMarks()[0]->getFill()->
clone();
94 if(!m_graphic->getMarks().empty())
96 m_graphic->getMarks()[0]->setFill(newFill);
106 if(!m_graphic->getMarks().empty())
108 return m_graphic->getMarks()[0]->getStroke()->
clone();
118 if(!m_graphic->getMarks().empty())
120 m_graphic->getMarks()[0]->setStroke(newStroke);
130 return m_graphic->getMarks()[0]->
clone();
135 m_graphic->setMark(0, newMark);
Stroke * clone() const
It creates a new copy of this object.
A Mark specifies a geometric shape and applies coloring to it.
A class used to define the style of a scatter's chart.
void setSize(ParameterValue *value)
The Size element gives the absolute size of the graphic in uoms encoded as a floating-point number...
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
The "ParameterValueType" uses WFS-Filter expressions to give values for SE graphic parameters...
void add(ExternalGraphic *g)
Graphics can either be referenced from an external URL in a common format (such as GIF or SVG)...
A Fill specifies the pattern for filling an area geometry.
Fill * clone() const
It creates a new copy of this object.
A Stroke specifies the appearance of a linear geometry.
void setStroke(Stroke *s)
Mark * clone() const
It creates a new copy of this object.
void setWellKnownName(std::string *name)
The WellKnownName element gives the well-known name of the shape of the mark.
This file contains a class that specialize the QwtSymbol to draw a Terralib Mark. ...