27 #include "../../../common/STLUtils.h" 
   28 #include "../../../maptools/MarkRendererManager.h" 
   29 #include "../../../se/AnchorPoint.h" 
   30 #include "../../../se/Displacement.h" 
   31 #include "../../../se/Graphic.h" 
   32 #include "../../../se/Mark.h" 
   33 #include "../../../se/Utils.h" 
   37 #include "ui_GlyphGraphicWidgetForm.h" 
   44     m_ui(new Ui::GlyphGraphicWidgetForm)
 
   52   QGridLayout* layout = 
new QGridLayout(
m_ui->m_glyphGroupBox);
 
   59   connect(
m_ui->m_graphicSizeDoubleSpinBox, SIGNAL(valueChanged(
const QString&)), SLOT(
setGraphicSize(
const QString&)));
 
   60   connect(
m_ui->m_graphicAngleDoubleSpinBox, SIGNAL(valueChanged(
const QString&)), SLOT(
setGraphicAngle(
const QString&)));
 
   78   m_graphic = graphic->
clone();
 
   81   const std::vector<te::se::Mark*> marks = m_graphic->
getMarks();
 
   90   std::size_t found = name->find(
"ttf://");
 
   91   if(found == std::string::npos)
 
   95   m_glyphMarkWidget->setMark(marks[0]);
 
  104   return tr(
"Glyph Marker");
 
  111   int dimension = size.width();
 
  115   QIcon icon = QIcon(QPixmap::fromImage(img->scaled(size, Qt::IgnoreAspectRatio, Qt::SmoothTransformation)));
 
  126   m_graphic->setMark(0, m_glyphMarkWidget->getMark());
 
  127   emit graphicChanged();
 
  132   setGraphicDisplacement(m_ui->m_displacementXDoubleSpinBox->text(), m_ui->m_displacementXDoubleSpinBox->text());
 
  137   setGraphicAnchorPoint(m_ui->m_anchorPointXDoubleSpinBox->text(), m_ui->m_anchorPointYDoubleSpinBox->text());
 
const ParameterValue * getDisplacementX() const 
 
A Mark specifies a geometric shape and applies coloring to it. 
 
A Displacement gives X and Y offset displacements to use for rendering a text label, graphic or other Symbolizer near a point. 
 
TESEEXPORT double GetDouble(const te::se::ParameterValue *param)
It gets the parameter value as a double. 
 
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)...
 
An AnchorPoint identifies the location inside of a text label to use an 'anchor' for positioning it r...
 
const ParameterValue * getDisplacementY() const 
 
void Free(std::vector< T * > *v)
This function can be applied to a pointer to a vector of pointers. 
 
Graphic * clone() const 
It creates a new copy of this object. 
 
static MarkRendererManager & getInstance()
It returns a reference to the singleton instance. 
 
const ParameterValue * getAnchorPointX() const 
 
const std::string * getWellKnownName() const 
 
const std::vector< Mark * > getMarks() const 
 
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color. 
 
const ParameterValue * getAnchorPointY() const