Quantum GIS API Documentation
1.7.4
|
#include <qgssymbolv2.h>
Public Member Functions | |
QgsLineSymbolV2 (QgsSymbolLayerV2List layers=QgsSymbolLayerV2List()) | |
void | setWidth (double width) |
double | width () |
void | renderPolyline (const QPolygonF &points, QgsRenderContext &context, int layer=-1, bool selected=false) |
virtual QgsSymbolV2 * | clone () const |
Static Public Member Functions | |
static QgsLineSymbolV2 * | createSimple (const QgsStringMap &properties) |
Create a line symbol with one symbol layer: SimpleLine with specified properties. |
Definition at line 194 of file qgssymbolv2.h.
Definition at line 434 of file qgssymbolv2.cpp.
References QgsSymbolV2::mLayers.
Referenced by clone(), and createSimple().
QgsSymbolV2 * QgsLineSymbolV2::clone | ( | ) | const [virtual] |
Implements QgsSymbolV2.
Definition at line 492 of file qgssymbolv2.cpp.
References QgsSymbolV2::cloneLayers(), QgsSymbolV2::mAlpha, QgsSymbolV2::mOutputUnit, QgsLineSymbolV2(), QgsSymbolV2::setAlpha(), and QgsSymbolV2::setOutputUnit().
Referenced by QgsSVGFillSymbolLayer::clone().
QgsLineSymbolV2 * QgsLineSymbolV2::createSimple | ( | const QgsStringMap & | properties | ) | [static] |
Create a line symbol with one symbol layer: SimpleLine with specified properties.
This is a convenience method for easier creation of line symbols.
Definition at line 320 of file qgssymbolv2.cpp.
References QgsSimpleLineSymbolLayerV2::create(), and QgsLineSymbolV2().
void QgsLineSymbolV2::renderPolyline | ( | const QPolygonF & | points, |
QgsRenderContext & | context, | ||
int | layer = -1 , |
||
bool | selected = false |
||
) |
Definition at line 474 of file qgssymbolv2.cpp.
References QgsSymbolV2::mAlpha, QgsSymbolV2::mLayers, QgsSymbolV2::mOutputUnit, QgsSymbolV2::mRenderHints, and QgsLineSymbolLayerV2::renderPolyline().
Referenced by QgsSVGFillSymbolLayer::renderPolygon().
void QgsLineSymbolV2::setWidth | ( | double | width | ) |
Definition at line 441 of file qgssymbolv2.cpp.
References QgsSymbolV2::mLayers, QgsLineSymbolLayerV2::setWidth(), QgsLineSymbolLayerV2::width(), and width().
Referenced by QgsSingleSymbolRendererV2::symbolForFeature(), QgsGraduatedSymbolRendererV2::symbolForFeature(), and QgsCategorizedSymbolRendererV2::symbolForFeature().
double QgsLineSymbolV2::width | ( | ) |
Definition at line 461 of file qgssymbolv2.cpp.
References QgsSymbolV2::mLayers, and QgsLineSymbolLayerV2::width().
Referenced by setWidth().