QGIS API Documentation  master-3f58142
QgsSvgMarkerSymbolLayerV2 Class Reference

#include <qgsmarkersymbollayerv2.h>

+ Inheritance diagram for QgsSvgMarkerSymbolLayerV2:
+ Collaboration diagram for QgsSvgMarkerSymbolLayerV2:

List of all members.

Public Member Functions

 QgsSvgMarkerSymbolLayerV2 (QString name=DEFAULT_SVGMARKER_NAME, double size=DEFAULT_SVGMARKER_SIZE, double angle=DEFAULT_SVGMARKER_ANGLE)
QgsSymbolLayerV2clone () const
QColor fillColor () const
QString layerType () const
QColor outlineColor () const
double outlineWidth () const
QgsSymbolV2::OutputUnit outlineWidthUnit () const
QgsSymbolV2::OutputUnit outputUnit () const
QString path () const
QgsStringMap properties () const
void renderPoint (const QPointF &point, QgsSymbolV2RenderContext &context)
void setFillColor (const QColor &c)
void setOutlineColor (const QColor &c)
void setOutlineWidth (double w)
void setOutlineWidthUnit (QgsSymbolV2::OutputUnit unit)
void setOutputUnit (QgsSymbolV2::OutputUnit unit)
void setPath (QString path)
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void writeSldMarker (QDomDocument &doc, QDomElement &element, QgsStringMap props) const

Static Public Member Functions

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

Protected Attributes

QColor mFillColor
double mOrigSize
QColor mOutlineColor
double mOutlineWidth
QgsSymbolV2::OutputUnit mOutlineWidthUnit
QString mPath

Detailed Description

Definition at line 110 of file qgsmarkersymbollayerv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QColor QgsSvgMarkerSymbolLayerV2::fillColor ( ) const [inline]

Definition at line 141 of file qgsmarkersymbollayerv2.h.

Referenced by create(), createFromSld(), renderPoint(), and setPath().

QString QgsSvgMarkerSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 819 of file qgsmarkersymbollayerv2.cpp.

QColor QgsSvgMarkerSymbolLayerV2::outlineColor ( ) const [inline]

Definition at line 144 of file qgsmarkersymbollayerv2.h.

Referenced by create(), renderPoint(), and setPath().

Implements QgsSymbolLayerV2.

Definition at line 831 of file qgsmarkersymbollayerv2.cpp.


Member Data Documentation

Definition at line 165 of file qgsmarkersymbollayerv2.h.

Referenced by startRender().


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