|
QGIS API Documentation
master-6227475
|
#include <qgssymbolv2.h>
Inheritance diagram for QgsFillSymbolV2:
Collaboration diagram for QgsFillSymbolV2:Public Member Functions | |
| QgsFillSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List()) | |
| virtual QgsSymbolV2 * | clone () const |
| void | renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false) |
| void | setAngle (double angle) |
Static Public Member Functions | |
| static QgsFillSymbolV2 * | createSimple (const QgsStringMap &properties) |
| Create a fill symbol with one symbol layer: SimpleFill with specified properties. | |
Definition at line 254 of file qgssymbolv2.h.
Definition at line 628 of file qgssymbolv2.cpp.
References QgsSymbolV2::mLayers.
Referenced by clone(), and createSimple().
| QgsSymbolV2 * QgsFillSymbolV2::clone | ( | ) | const [virtual] |
Implements QgsSymbolV2.
Definition at line 668 of file qgssymbolv2.cpp.
References QgsSymbolV2::cloneLayers(), QgsSymbolV2::mAlpha, QgsFillSymbolV2(), and QgsSymbolV2::setAlpha().
| QgsFillSymbolV2 * QgsFillSymbolV2::createSimple | ( | const QgsStringMap & | properties | ) | [static] |
Create a fill symbol with one symbol layer: SimpleFill with specified properties.
This is a convenience method for easier creation of fill symbols.
Definition at line 434 of file qgssymbolv2.cpp.
References QgsSimpleFillSymbolLayerV2::create(), and QgsFillSymbolV2().
Referenced by QgsComposerMap::createDefaultOverviewFrameSymbol().
| void QgsFillSymbolV2::renderPolygon | ( | const QPolygonF & | points, |
| QList< QPolygonF > * | rings, | ||
| const QgsFeature * | f, | ||
| QgsRenderContext & | context, | ||
| int | layer = -1, |
||
| bool | selected = false |
||
| ) |
Definition at line 635 of file qgssymbolv2.cpp.
References QgsSymbolV2::Fill, QgsSymbolV2::Line, QgsSymbolV2::mAlpha, QgsSymbolV2::mLayers, QgsSymbolV2::mRenderHints, QgsSymbolV2::outputUnit(), QgsFillSymbolLayerV2::renderPolygon(), and QgsLineSymbolLayerV2::renderPolygonOutline().
Referenced by QgsComposerMap::drawOverviewMapExtent().
| void QgsFillSymbolV2::setAngle | ( | double | angle | ) |
Definition at line 675 of file qgssymbolv2.cpp.
References QgsSymbolV2::mLayers, and QgsFillSymbolLayerV2::setAngle().
Referenced by QgsSingleSymbolRendererV2::symbolForFeature().