Quantum GIS API Documentation  1.8
Public Member Functions | Static Public Member Functions | Protected Attributes
QgsSimpleLineSymbolLayerV2 Class Reference

#include <qgslinesymbollayerv2.h>

Inheritance diagram for QgsSimpleLineSymbolLayerV2:
Inheritance graph
[legend]
Collaboration diagram for QgsSimpleLineSymbolLayerV2:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsSimpleLineSymbolLayerV2 (QColor color=DEFAULT_SIMPLELINE_COLOR, double width=DEFAULT_SIMPLELINE_WIDTH, Qt::PenStyle penStyle=DEFAULT_SIMPLELINE_PENSTYLE)
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPolyline (const QPolygonF &points, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2clone () const
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const
Qt::PenStyle penStyle () const
void setPenStyle (Qt::PenStyle style)
Qt::PenJoinStyle penJoinStyle () const
void setPenJoinStyle (Qt::PenJoinStyle style)
Qt::PenCapStyle penCapStyle () const
void setPenCapStyle (Qt::PenCapStyle style)
double offset () const
void setOffset (double offset)
bool useCustomDashPattern () const
void setUseCustomDashPattern (bool b)
QVector< qreal > customDashVector () const
void setCustomDashVector (const QVector< qreal > &vector)

Static Public Member Functions

static QgsSymbolLayerV2create (const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2createFromSld (QDomElement &element)

Protected Attributes

Qt::PenStyle mPenStyle
Qt::PenJoinStyle mPenJoinStyle
Qt::PenCapStyle mPenCapStyle
QPen mPen
QPen mSelPen
double mOffset
bool mUseCustomDashPattern
QVector< qreal > mCustomDashVector
 Vector with an even number of entries for the.

Detailed Description

Definition at line 31 of file qgslinesymbollayerv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QgsSymbolLayerV2 * QgsSimpleLineSymbolLayerV2::createFromSld ( QDomElement &  element) [static]
QVector<qreal> QgsSimpleLineSymbolLayerV2::customDashVector ( ) const [inline]

Definition at line 76 of file qgslinesymbollayerv2.h.

Referenced by createFromSld().

QString QgsSimpleLineSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 71 of file qgslinesymbollayerv2.cpp.

double QgsSimpleLineSymbolLayerV2::offset ( ) const [inline]

Definition at line 70 of file qgslinesymbollayerv2.h.

Referenced by createFromSld().

Qt::PenCapStyle QgsSimpleLineSymbolLayerV2::penCapStyle ( ) const [inline]

Definition at line 67 of file qgslinesymbollayerv2.h.

Referenced by createFromSld().

Qt::PenJoinStyle QgsSimpleLineSymbolLayerV2::penJoinStyle ( ) const [inline]

Definition at line 64 of file qgslinesymbollayerv2.h.

Referenced by createFromSld().

Qt::PenStyle QgsSimpleLineSymbolLayerV2::penStyle ( ) const [inline]
void QgsSimpleLineSymbolLayerV2::renderPolyline ( const QPolygonF &  points,
QgsSymbolV2RenderContext context 
) [virtual]
void QgsSimpleLineSymbolLayerV2::setCustomDashVector ( const QVector< qreal > &  vector) [inline]

Definition at line 77 of file qgslinesymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

void QgsSimpleLineSymbolLayerV2::setOffset ( double  offset) [inline]

Definition at line 71 of file qgslinesymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

void QgsSimpleLineSymbolLayerV2::setPenCapStyle ( Qt::PenCapStyle  style) [inline]

Definition at line 68 of file qgslinesymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

void QgsSimpleLineSymbolLayerV2::setPenJoinStyle ( Qt::PenJoinStyle  style) [inline]

Definition at line 65 of file qgslinesymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

void QgsSimpleLineSymbolLayerV2::setPenStyle ( Qt::PenStyle  style) [inline]

Definition at line 62 of file qgslinesymbollayerv2.h.

Definition at line 74 of file qgslinesymbollayerv2.h.

Referenced by clone(), create(), and createFromSld().

Implements QgsSymbolLayerV2.

Definition at line 111 of file qgslinesymbollayerv2.cpp.

void QgsSimpleLineSymbolLayerV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const [virtual]

Definition at line 73 of file qgslinesymbollayerv2.h.


Member Data Documentation

Vector with an even number of entries for the.

Definition at line 89 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), QgsSimpleLineSymbolLayerV2(), startRender(), and toSld().

Definition at line 85 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), renderPolyline(), and toSld().

Definition at line 83 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Qt::PenCapStyle QgsSimpleLineSymbolLayerV2::mPenCapStyle [protected]

Definition at line 82 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), startRender(), and toSld().

Qt::PenJoinStyle QgsSimpleLineSymbolLayerV2::mPenJoinStyle [protected]

Definition at line 81 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), startRender(), and toSld().

Qt::PenStyle QgsSimpleLineSymbolLayerV2::mPenStyle [protected]

Definition at line 80 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), startRender(), and toSld().

Definition at line 84 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Definition at line 87 of file qgslinesymbollayerv2.h.

Referenced by clone(), properties(), startRender(), and toSld().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines