#include <qgssymbollayerv2.h>
Public Member Functions | |
virtual void | renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context)=0 |
virtual void | setWidth (double width) |
virtual double | width () const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
Protected Member Functions | |
QgsLineSymbolLayerV2 (bool locked=false) | |
Protected Attributes | |
double | mWidth |
Definition at line 97 of file qgssymbollayerv2.h.
QgsLineSymbolLayerV2::QgsLineSymbolLayerV2 | ( | bool | locked = false |
) | [protected] |
Definition at line 19 of file qgssymbollayerv2.cpp.
virtual void QgsLineSymbolLayerV2::renderPolyline | ( | const QPolygonF & | points, | |
QgsSymbolV2RenderContext & | context | |||
) | [pure virtual] |
Implemented in QgsSimpleLineSymbolLayerV2, QgsMarkerLineSymbolLayerV2, and QgsLineDecorationSymbolLayerV2.
Referenced by drawPreviewIcon(), and QgsLineSymbolV2::renderPolyline().
virtual void QgsLineSymbolLayerV2::setWidth | ( | double | width | ) | [inline, virtual] |
Reimplemented in QgsMarkerLineSymbolLayerV2.
Definition at line 102 of file qgssymbollayerv2.h.
Referenced by QgsLineSymbolV2::setWidth().
virtual double QgsLineSymbolLayerV2::width | ( | ) | const [inline, virtual] |
Reimplemented in QgsMarkerLineSymbolLayerV2.
Definition at line 103 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2::create(), QgsLineSymbolV2::setWidth(), QgsSymbologyV2Conversion::symbolV2toV1(), and QgsLineSymbolV2::width().
void QgsLineSymbolLayerV2::drawPreviewIcon | ( | QgsSymbolV2RenderContext & | context, | |
QSize | size | |||
) | [virtual] |
Implements QgsSymbolLayerV2.
Definition at line 36 of file qgssymbollayerv2.cpp.
References renderPolyline(), QgsSymbolLayerV2::startRender(), and QgsSymbolLayerV2::stopRender().
double QgsLineSymbolLayerV2::mWidth [protected] |