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

#include <qgsmarkersymbollayerv2.h>

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

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)
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPoint (const QPointF &point, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2clone () const
void writeSldMarker (QDomDocument &doc, QDomElement &element, QgsStringMap props) const
QString fontFamily () const
void setFontFamily (QString family)
QChar character () const
void setCharacter (QChar ch)

Static Public Member Functions

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

Protected Attributes

QString mFontFamily
QChar mChr
QPointF mChrOffset
QFont mFont
double mOrigSize

Detailed Description

Definition at line 172 of file qgsmarkersymbollayerv2.h.


Constructor & Destructor Documentation


Member Function Documentation

QChar QgsFontMarkerSymbolLayerV2::character ( ) const [inline]

Definition at line 207 of file qgsmarkersymbollayerv2.h.

QgsSymbolLayerV2 * QgsFontMarkerSymbolLayerV2::createFromSld ( QDomElement &  element) [static]
QString QgsFontMarkerSymbolLayerV2::fontFamily ( ) const [inline]

Definition at line 204 of file qgsmarkersymbollayerv2.h.

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

QString QgsFontMarkerSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 909 of file qgsmarkersymbollayerv2.cpp.

void QgsFontMarkerSymbolLayerV2::renderPoint ( const QPointF &  point,
QgsSymbolV2RenderContext context 
) [virtual]
void QgsFontMarkerSymbolLayerV2::setCharacter ( QChar  ch) [inline]

Definition at line 208 of file qgsmarkersymbollayerv2.h.

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

Definition at line 205 of file qgsmarkersymbollayerv2.h.

Implements QgsSymbolLayerV2.

Definition at line 924 of file qgsmarkersymbollayerv2.cpp.

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

Member Data Documentation

Definition at line 215 of file qgsmarkersymbollayerv2.h.

Referenced by renderPoint(), and startRender().

Definition at line 216 of file qgsmarkersymbollayerv2.h.

Referenced by renderPoint(), and startRender().

Definition at line 217 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 Friends Defines