Quantum GIS API Documentation  1.7.4
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
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())

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 17 of file qgslinesymbollayerv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QVector<qreal> QgsSimpleLineSymbolLayerV2::customDashVector ( ) const [inline]

Definition at line 59 of file qgslinesymbollayerv2.h.

QString QgsSimpleLineSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 54 of file qgslinesymbollayerv2.cpp.

double QgsSimpleLineSymbolLayerV2::offset ( ) const [inline]

Definition at line 53 of file qgslinesymbollayerv2.h.

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

Definition at line 50 of file qgslinesymbollayerv2.h.

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

Definition at line 47 of file qgslinesymbollayerv2.h.

Qt::PenStyle QgsSimpleLineSymbolLayerV2::penStyle ( ) const [inline]

Definition at line 44 of file qgslinesymbollayerv2.h.

Referenced by create(), and QgsSymbologyV2Conversion::symbolV2toV1().

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

Definition at line 60 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

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

Definition at line 54 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

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

Definition at line 51 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

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

Definition at line 48 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

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

Definition at line 45 of file qgslinesymbollayerv2.h.

Definition at line 57 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

Implements QgsSymbolLayerV2.

Definition at line 93 of file qgslinesymbollayerv2.cpp.

Definition at line 56 of file qgslinesymbollayerv2.h.


Member Data Documentation

Vector with an even number of entries for the.

Definition at line 72 of file qgslinesymbollayerv2.h.

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

Definition at line 68 of file qgslinesymbollayerv2.h.

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

Definition at line 66 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Qt::PenCapStyle QgsSimpleLineSymbolLayerV2::mPenCapStyle [protected]

Definition at line 65 of file qgslinesymbollayerv2.h.

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

Qt::PenJoinStyle QgsSimpleLineSymbolLayerV2::mPenJoinStyle [protected]

Definition at line 64 of file qgslinesymbollayerv2.h.

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

Qt::PenStyle QgsSimpleLineSymbolLayerV2::mPenStyle [protected]

Definition at line 63 of file qgslinesymbollayerv2.h.

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

Definition at line 67 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

Definition at line 70 of file qgslinesymbollayerv2.h.

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


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