#include <qgslinesymbollayerv2.h>


Public Member Functions | |
| QgsLineDecorationSymbolLayerV2 (QColor color=DEFAULT_LINEDECORATION_COLOR) | |
| ~QgsLineDecorationSymbolLayerV2 () | |
| QString | layerType () const |
| void | startRender (QgsSymbolV2RenderContext &context) |
| void | stopRender (QgsSymbolV2RenderContext &context) |
| void | renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context) |
| QgsStringMap | properties () const |
| QgsSymbolLayerV2 * | clone () const |
Static Public Member Functions | |
| static QgsSymbolLayerV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
Protected Attributes | |
| QPen | mPen |
| QPen | mSelPen |
Definition at line 139 of file qgslinesymbollayerv2.h.
| QgsLineDecorationSymbolLayerV2::QgsLineDecorationSymbolLayerV2 | ( | QColor | color = DEFAULT_LINEDECORATION_COLOR |
) |
| QgsLineDecorationSymbolLayerV2::~QgsLineDecorationSymbolLayerV2 | ( | ) |
Definition at line 400 of file qgslinesymbollayerv2.cpp.
| QgsSymbolLayerV2 * QgsLineDecorationSymbolLayerV2::create | ( | const QgsStringMap & | properties = QgsStringMap() |
) | [static] |
Definition at line 404 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2::color(), QgsSymbolLayerV2Utils::decodeColor(), DEFAULT_LINEDECORATION_COLOR, and QgsLineDecorationSymbolLayerV2().
Referenced by QgsSymbolLayerV2Registry::QgsSymbolLayerV2Registry().
| QString QgsLineDecorationSymbolLayerV2::layerType | ( | ) | const [virtual] |
| void QgsLineDecorationSymbolLayerV2::startRender | ( | QgsSymbolV2RenderContext & | context | ) | [virtual] |
Implements QgsSymbolLayerV2.
Definition at line 419 of file qgslinesymbollayerv2.cpp.
References QgsSymbolV2RenderContext::alpha(), QgsSymbolLayerV2::mColor, mPen, mSelPen, QgsSymbolV2RenderContext::selectionColor(), and QgsSymbolLayerV2::selectionIsOpaque.
| void QgsLineDecorationSymbolLayerV2::stopRender | ( | QgsSymbolV2RenderContext & | context | ) | [virtual] |
| void QgsLineDecorationSymbolLayerV2::renderPolyline | ( | const QPolygonF & | points, | |
| QgsSymbolV2RenderContext & | context | |||
| ) | [virtual] |
Implements QgsLineSymbolLayerV2.
Definition at line 446 of file qgslinesymbollayerv2.cpp.
References _calculateAngle(), MathUtils::angle(), M_PI, mPen, mSelPen, QgsSymbolV2RenderContext::outputLineWidth(), QgsRenderContext::painter(), QgsSymbolV2RenderContext::renderContext(), and QgsSymbolV2RenderContext::selected().
| QgsStringMap QgsLineDecorationSymbolLayerV2::properties | ( | ) | const [virtual] |
Implements QgsSymbolLayerV2.
Definition at line 473 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2Utils::encodeColor(), and QgsSymbolLayerV2::mColor.
| QgsSymbolLayerV2 * QgsLineDecorationSymbolLayerV2::clone | ( | ) | const [virtual] |
Implements QgsSymbolLayerV2.
Definition at line 480 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2::mColor, and QgsLineDecorationSymbolLayerV2().
QPen QgsLineDecorationSymbolLayerV2::mPen [protected] |
Definition at line 165 of file qgslinesymbollayerv2.h.
Referenced by renderPolyline(), and startRender().
QPen QgsLineDecorationSymbolLayerV2::mSelPen [protected] |
Definition at line 166 of file qgslinesymbollayerv2.h.
Referenced by renderPolyline(), and startRender().
1.5.6