QGIS API Documentation  master-3f58142
QgsFontMarkerSymbolLayerV2 Class Reference

#include <qgsmarkersymbollayerv2.h>

+ Inheritance diagram for QgsFontMarkerSymbolLayerV2:
+ Collaboration diagram for QgsFontMarkerSymbolLayerV2:

List of all members.

Public Member Functions

 QgsFontMarkerSymbolLayerV2 (QString fontFamily=DEFAULT_FONTMARKER_FONT, QChar chr=DEFAULT_FONTMARKER_CHR, double pointSize=DEFAULT_FONTMARKER_SIZE, QColor color=DEFAULT_FONTMARKER_COLOR, double angle=DEFAULT_FONTMARKER_ANGLE)
QChar character () const
QgsSymbolLayerV2clone () const
QString fontFamily () const
QString layerType () const
QgsStringMap properties () const
void renderPoint (const QPointF &point, QgsSymbolV2RenderContext &context)
void setCharacter (QChar ch)
void setFontFamily (QString family)
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

QChar mChr
QPointF mChrOffset
QFont mFont
QString mFontFamily
double mOrigSize

Detailed Description

Definition at line 180 of file qgsmarkersymbollayerv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QChar QgsFontMarkerSymbolLayerV2::character ( ) const [inline]

Definition at line 215 of file qgsmarkersymbollayerv2.h.

QString QgsFontMarkerSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 1133 of file qgsmarkersymbollayerv2.cpp.

void QgsFontMarkerSymbolLayerV2::setFontFamily ( QString  family) [inline]

Implements QgsSymbolLayerV2.

Definition at line 1148 of file qgsmarkersymbollayerv2.cpp.


Member Data Documentation

Definition at line 223 of file qgsmarkersymbollayerv2.h.

Referenced by renderPoint(), and startRender().

Definition at line 224 of file qgsmarkersymbollayerv2.h.

Referenced by renderPoint(), and startRender().

Definition at line 225 of file qgsmarkersymbollayerv2.h.

Referenced by renderPoint(), and startRender().


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