|
QGIS API Documentation
master-6227475
|
#include <qgssymbollayerv2.h>
Inheritance diagram for QgsLineSymbolLayerV2:
Collaboration diagram for QgsLineSymbolLayerV2:Public Member Functions | |
| void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
| virtual void | renderPolygonOutline (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context) |
| virtual void | renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context)=0 |
| virtual void | setWidth (double width) |
| void | setWidthUnit (QgsSymbolV2::OutputUnit unit) |
| virtual double | width () const |
| QgsSymbolV2::OutputUnit | widthUnit () const |
Protected Member Functions | |
| QgsLineSymbolLayerV2 (bool locked=false) | |
Protected Attributes | |
| double | mWidth |
| QgsSymbolV2::OutputUnit | mWidthUnit |
Definition at line 167 of file qgssymbollayerv2.h.
| QgsLineSymbolLayerV2::QgsLineSymbolLayerV2 | ( | bool | locked = false | ) | [protected] |
Definition at line 155 of file qgssymbollayerv2.cpp.
| void QgsLineSymbolLayerV2::drawPreviewIcon | ( | QgsSymbolV2RenderContext & | context, |
| QSize | size | ||
| ) | [virtual] |
Implements QgsSymbolLayerV2.
Definition at line 212 of file qgssymbollayerv2.cpp.
References renderPolyline(), QgsSymbolLayerV2::startRender(), and QgsSymbolLayerV2::stopRender().
| void QgsLineSymbolLayerV2::renderPolygonOutline | ( | const QPolygonF & | points, |
| QList< QPolygonF > * | rings, | ||
| QgsSymbolV2RenderContext & | context | ||
| ) | [virtual] |
Definition at line 224 of file qgssymbollayerv2.cpp.
References renderPolyline().
Referenced by QgsSymbolV2::drawPreviewIcon(), and QgsFillSymbolV2::renderPolygon().
| virtual void QgsLineSymbolLayerV2::renderPolyline | ( | const QPolygonF & | points, |
| QgsSymbolV2RenderContext & | context | ||
| ) | [pure virtual] |
Implemented in QgsLineDecorationSymbolLayerV2, QgsMarkerLineSymbolLayerV2, and QgsSimpleLineSymbolLayerV2.
Referenced by drawPreviewIcon(), renderPolygonOutline(), and QgsLineSymbolV2::renderPolyline().
| virtual void QgsLineSymbolLayerV2::setWidth | ( | double | width | ) | [inline, virtual] |
Reimplemented in QgsMarkerLineSymbolLayerV2.
Definition at line 175 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2Widget::penWidthChanged(), QgsLineDecorationSymbolLayerV2Widget::penWidthChanged(), and QgsLineSymbolV2::setWidth().
| void QgsLineSymbolLayerV2::setWidthUnit | ( | QgsSymbolV2::OutputUnit | unit | ) | [inline] |
Definition at line 178 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2::clone(), QgsLineDecorationSymbolLayerV2::clone(), QgsSimpleLineSymbolLayerV2::create(), QgsLineDecorationSymbolLayerV2::create(), QgsSimpleLineSymbolLayerV2Widget::on_mPenWidthUnitComboBox_currentIndexChanged(), and QgsLineDecorationSymbolLayerV2Widget::on_mWidthUnitComboBox_currentIndexChanged().
| virtual double QgsLineSymbolLayerV2::width | ( | ) | const [inline, virtual] |
Reimplemented in QgsMarkerLineSymbolLayerV2.
Definition at line 176 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2::create(), QgsLineDecorationSymbolLayerV2::create(), QgsSimpleLineSymbolLayerV2::createFromSld(), QgsLineDecorationSymbolLayerV2::QgsLineDecorationSymbolLayerV2(), QgsSimpleLineSymbolLayerV2::QgsSimpleLineSymbolLayerV2(), QgsSimpleLineSymbolLayerV2Widget::setSymbolLayer(), QgsLineDecorationSymbolLayerV2Widget::setSymbolLayer(), QgsLineSymbolV2::setWidth(), QgsLineDecorationSymbolLayerV2::startRender(), and QgsLineSymbolV2::width().
| QgsSymbolV2::OutputUnit QgsLineSymbolLayerV2::widthUnit | ( | ) | const [inline] |
Definition at line 179 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2Widget::setSymbolLayer(), and QgsLineDecorationSymbolLayerV2Widget::setSymbolLayer().
double QgsLineSymbolLayerV2::mWidth [protected] |
Definition at line 186 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2::applyDataDefinedSymbology(), QgsSimpleLineSymbolLayerV2::clone(), QgsLineDecorationSymbolLayerV2::clone(), QgsSimpleLineSymbolLayerV2::ogrFeatureStyle(), QgsSimpleLineSymbolLayerV2::properties(), QgsLineDecorationSymbolLayerV2::properties(), QgsLineDecorationSymbolLayerV2::QgsLineDecorationSymbolLayerV2(), QgsSimpleLineSymbolLayerV2::QgsSimpleLineSymbolLayerV2(), QgsLineDecorationSymbolLayerV2::renderPolyline(), QgsSimpleLineSymbolLayerV2::startRender(), QgsLineDecorationSymbolLayerV2::startRender(), QgsSimpleLineSymbolLayerV2::toSld(), and QgsLineDecorationSymbolLayerV2::toSld().
Definition at line 187 of file qgssymbollayerv2.h.
Referenced by QgsSimpleLineSymbolLayerV2::applyDataDefinedSymbology(), QgsSimpleLineSymbolLayerV2::clone(), QgsLineDecorationSymbolLayerV2::clone(), QgsSimpleLineSymbolLayerV2::outputUnit(), QgsLineDecorationSymbolLayerV2::outputUnit(), QgsSimpleLineSymbolLayerV2::properties(), QgsLineDecorationSymbolLayerV2::properties(), QgsLineDecorationSymbolLayerV2::renderPolyline(), QgsSimpleLineSymbolLayerV2::setOutputUnit(), QgsLineDecorationSymbolLayerV2::setOutputUnit(), QgsSimpleLineSymbolLayerV2::startRender(), and QgsLineDecorationSymbolLayerV2::startRender().