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

#include <qgsfillsymbollayerv2.h>

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

List of all members.

Public Member Functions

 QgsCentroidFillSymbolLayerV2 ()
 ~QgsCentroidFillSymbolLayerV2 ()
QString layerType () const
void startRender (QgsSymbolV2RenderContext &context)
void stopRender (QgsSymbolV2RenderContext &context)
void renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context)
QgsStringMap properties () const
QgsSymbolLayerV2 * clone () const
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const
void setColor (const QColor &color)
QgsSymbolV2 * subSymbol ()
bool setSubSymbol (QgsSymbolV2 *symbol)

Static Public Member Functions

static QgsSymbolLayerV2 * create (const QgsStringMap &properties=QgsStringMap())
static QgsSymbolLayerV2 * createFromSld (QDomElement &element)

Protected Attributes

QgsMarkerSymbolV2 * mMarker

Detailed Description

Definition at line 257 of file qgsfillsymbollayerv2.h.


Constructor & Destructor Documentation

Definition at line 1067 of file qgsfillsymbollayerv2.cpp.

References mMarker, and setSubSymbol().

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

Definition at line 1073 of file qgsfillsymbollayerv2.cpp.

References mMarker.


Member Function Documentation

QgsSymbolLayerV2 * QgsCentroidFillSymbolLayerV2::createFromSld ( QDomElement &  element) [static]
QString QgsCentroidFillSymbolLayerV2::layerType ( ) const [virtual]

Implements QgsSymbolLayerV2.

Definition at line 1083 of file qgsfillsymbollayerv2.cpp.

Implements QgsSymbolLayerV2.

Definition at line 1130 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::renderPolygon ( const QPolygonF &  points,
QList< QPolygonF > *  rings,
QgsSymbolV2RenderContext &  context 
) [virtual]
void QgsCentroidFillSymbolLayerV2::setColor ( const QColor &  color) [virtual]

Reimplemented from QgsSymbolLayerV2.

Definition at line 1168 of file qgsfillsymbollayerv2.cpp.

References mMarker.

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

Reimplemented from QgsSymbolLayerV2.

Definition at line 1142 of file qgsfillsymbollayerv2.cpp.

References mMarker, and QgsSymbolV2::toSld().


Member Data Documentation


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