Quantum GIS API Documentation
1.7.5-Wroclaw
|
#include <qgslinesymbollayerv2.h>
Public Member Functions | |
QgsLineDecorationSymbolLayerV2 (QColor color=DEFAULT_LINEDECORATION_COLOR, double width=DEFAULT_LINEDECORATION_WIDTH) | |
~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 |
![]() | |
virtual void | renderPolygonOutline (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context) |
virtual void | setWidth (double width) |
virtual double | width () const |
void | drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) |
![]() | |
virtual void | setColor (const QColor &color) |
virtual QColor | color () const |
virtual | ~QgsSymbolLayerV2 () |
virtual QgsSymbolV2 * | subSymbol () |
virtual bool | setSubSymbol (QgsSymbolV2 *symbol) |
QgsSymbolV2::SymbolType | type () const |
void | setLocked (bool locked) |
bool | isLocked () const |
void | setRenderingPass (int renderingPass) |
int | renderingPass () const |
Static Public Member Functions | |
static QgsSymbolLayerV2 * | create (const QgsStringMap &properties=QgsStringMap()) |
Protected Attributes | |
QPen | mPen |
QPen | mSelPen |
![]() | |
double | mWidth |
![]() | |
QgsSymbolV2::SymbolType | mType |
bool | mLocked |
QColor | mColor |
int | mRenderingPass |
Additional Inherited Members | |
![]() | |
QgsLineSymbolLayerV2 (bool locked=false) | |
![]() | |
static const bool | selectionIsOpaque = true |
static const bool | selectFillBorder = false |
static const bool | selectFillStyle = false |
Definition at line 155 of file qgslinesymbollayerv2.h.
QgsLineDecorationSymbolLayerV2::QgsLineDecorationSymbolLayerV2 | ( | QColor | color = DEFAULT_LINEDECORATION_COLOR , |
double | width = DEFAULT_LINEDECORATION_WIDTH |
||
) |
Definition at line 587 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2::color(), QgsSymbolLayerV2::mColor, QgsLineSymbolLayerV2::mWidth, and QgsLineSymbolLayerV2::width().
QgsLineDecorationSymbolLayerV2::~QgsLineDecorationSymbolLayerV2 | ( | ) |
Definition at line 593 of file qgslinesymbollayerv2.cpp.
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 677 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2::mColor, QgsLineSymbolLayerV2::mWidth, and QgsLineDecorationSymbolLayerV2().
|
static |
Definition at line 597 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2::color(), QgsSymbolLayerV2Utils::decodeColor(), DEFAULT_LINEDECORATION_COLOR, DEFAULT_LINEDECORATION_WIDTH, QgsLineDecorationSymbolLayerV2(), and QgsLineSymbolLayerV2::width().
Referenced by QgsSymbolLayerV2Registry::QgsSymbolLayerV2Registry().
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 610 of file qgslinesymbollayerv2.cpp.
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 669 of file qgslinesymbollayerv2.cpp.
References QgsSymbolLayerV2Utils::encodeColor(), QgsSymbolLayerV2::mColor, and QgsLineSymbolLayerV2::mWidth.
|
virtual |
Implements QgsLineSymbolLayerV2.
Definition at line 631 of file qgslinesymbollayerv2.cpp.
References MathUtils::angle(), M_PI, mPen, mSelPen, QgsLineSymbolLayerV2::mWidth, QgsSymbolV2RenderContext::outputLineWidth(), QgsRenderContext::painter(), QgsSymbolV2RenderContext::renderContext(), and QgsSymbolV2RenderContext::selected().
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 615 of file qgslinesymbollayerv2.cpp.
References QgsSymbolV2RenderContext::alpha(), QgsSymbolLayerV2::mColor, mPen, mSelPen, QgsLineSymbolLayerV2::mWidth, QgsSymbolV2RenderContext::outputLineWidth(), QgsSymbolV2RenderContext::selectionColor(), and QgsSymbolLayerV2::selectionIsOpaque.
|
virtual |
Implements QgsSymbolLayerV2.
Definition at line 627 of file qgslinesymbollayerv2.cpp.
|
protected |
Definition at line 182 of file qgslinesymbollayerv2.h.
Referenced by renderPolyline(), and startRender().
|
protected |
Definition at line 183 of file qgslinesymbollayerv2.h.
Referenced by renderPolyline(), and startRender().