#include "LegendItem.h"#include "../../canvas/Canvas.h"#include "../../canvas/MapDisplay.h"#include "../../../../geometry/LineString.h"#include "../../../../geometry/Point.h"#include "../../../../geometry/Polygon.h"#include "../../../../maptools/CanvasConfigurer.h"#include "../../../../se/Description.h"#include "../../../../se/FeatureTypeStyle.h"#include "../../../../se/Rule.h"#include "../../../../se/Symbolizer.h"#include <QObject>Go to the source code of this file.
Functions | |
| te::gm::Geometry * | GetGeometry (const te::se::Symbolizer *s) |
| QIcon | GetIcon (const std::vector< te::se::Symbolizer * > &symbolizers) |
| QIcon | GetIcon (const te::se::Rule *rule) |
| te::gm::Geometry* GetGeometry | ( | const te::se::Symbolizer * | s | ) |
Definition at line 42 of file LegendItem.cpp.
References te::se::Symbolizer::getType(), te::gm::LineStringType, te::gm::PolygonType, te::gm::LineString::setPoint(), and te::gm::CurvePolygon::setRingN().
Referenced by GetIcon().
| QIcon GetIcon | ( | const std::vector< te::se::Symbolizer * > & | symbolizers | ) |
Definition at line 73 of file LegendItem.cpp.
References te::map::CanvasConfigurer::config(), te::qt::widgets::Canvas::draw(), GetGeometry(), te::qt::widgets::Canvas::getPixmap(), and te::se::Symbolizer::getType().
Referenced by GetIcon(), te::qt::widgets::LegendItem::LegendItem(), and te::qt::widgets::LegendItem::updateSymbol().
| QIcon GetIcon | ( | const te::se::Rule * | rule | ) |
Definition at line 102 of file LegendItem.cpp.
References GetIcon(), and te::se::Rule::getSymbolizers().