Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
QgsSimpleLineSymbolLayerV2 Class Reference

#include <qgslinesymbollayerv2.h>

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

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)
 
- Public Member Functions inherited from QgsLineSymbolLayerV2
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)
 
- Public Member Functions inherited from QgsSymbolLayerV2
virtual void setColor (const QColor &color)
 
virtual QColor color () const
 
virtual ~QgsSymbolLayerV2 ()
 
virtual QgsSymbolV2subSymbol ()
 
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 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. More...
 
- Protected Attributes inherited from QgsLineSymbolLayerV2
double mWidth
 
- Protected Attributes inherited from QgsSymbolLayerV2
QgsSymbolV2::SymbolType mType
 
bool mLocked
 
QColor mColor
 
int mRenderingPass
 

Additional Inherited Members

- Protected Member Functions inherited from QgsLineSymbolLayerV2
 QgsLineSymbolLayerV2 (bool locked=false)
 
- Static Protected Attributes inherited from QgsSymbolLayerV2
static const bool selectionIsOpaque = true
 
static const bool selectFillBorder = false
 
static const bool selectFillStyle = false
 

Detailed Description

Definition at line 17 of file qgslinesymbollayerv2.h.

Constructor & Destructor Documentation

QgsSimpleLineSymbolLayerV2::QgsSimpleLineSymbolLayerV2 ( QColor  color = DEFAULT_SIMPLELINE_COLOR,
double  width = DEFAULT_SIMPLELINE_WIDTH,
Qt::PenStyle  penStyle = DEFAULT_SIMPLELINE_PENSTYLE 
)

Member Function Documentation

QgsSymbolLayerV2 * QgsSimpleLineSymbolLayerV2::clone ( ) const
virtual
QgsSymbolLayerV2 * QgsSimpleLineSymbolLayerV2::create ( const QgsStringMap properties = QgsStringMap())
static
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().

QgsStringMap QgsSimpleLineSymbolLayerV2::properties ( ) const
virtual
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.

void QgsSimpleLineSymbolLayerV2::setUseCustomDashPattern ( bool  b)
inline

Definition at line 57 of file qgslinesymbollayerv2.h.

Referenced by clone(), and create().

void QgsSimpleLineSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context)
virtual
void QgsSimpleLineSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context)
virtual

Implements QgsSymbolLayerV2.

Definition at line 93 of file qgslinesymbollayerv2.cpp.

bool QgsSimpleLineSymbolLayerV2::useCustomDashPattern ( ) const
inline

Definition at line 56 of file qgslinesymbollayerv2.h.

Member Data Documentation

QVector<qreal> QgsSimpleLineSymbolLayerV2::mCustomDashVector
protected

Vector with an even number of entries for the.

Definition at line 72 of file qgslinesymbollayerv2.h.

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

double QgsSimpleLineSymbolLayerV2::mOffset
protected

Definition at line 68 of file qgslinesymbollayerv2.h.

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

QPen QgsSimpleLineSymbolLayerV2::mPen
protected

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().

QPen QgsSimpleLineSymbolLayerV2::mSelPen
protected

Definition at line 67 of file qgslinesymbollayerv2.h.

Referenced by renderPolyline(), and startRender().

bool QgsSimpleLineSymbolLayerV2::mUseCustomDashPattern
protected

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: