QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
QgsCentroidFillSymbolLayerV2 Class Reference

#include <qgsfillsymbollayerv2.h>

Inheritance diagram for QgsCentroidFillSymbolLayerV2:
Inheritance graph
[legend]

Public Member Functions

 QgsCentroidFillSymbolLayerV2 ()
 ~QgsCentroidFillSymbolLayerV2 ()
QgsSymbolLayerV2clone () const override
QString layerType () const override
QgsMapUnitScale mapUnitScale () const override
QgsSymbolV2::OutputUnit outputUnit () const override
bool pointOnSurface () const
QgsStringMap properties () const override
void renderPolygon (const QPolygonF &points, QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context) override
void setColor (const QColor &color) override
void setMapUnitScale (const QgsMapUnitScale &scale) override
void setOutputUnit (QgsSymbolV2::OutputUnit unit) override
void setPointOnSurface (bool pointOnSurface)
bool setSubSymbol (QgsSymbolV2 *symbol) override
void startRender (QgsSymbolV2RenderContext &context) override
void stopRender (QgsSymbolV2RenderContext &context) override
QgsSymbolV2subSymbol () override
void toSld (QDomDocument &doc, QDomElement &element, QgsStringMap props) const override
virtual QSet< QString > usedAttributes () const override
- Public Member Functions inherited from QgsFillSymbolLayerV2
double angle () const
void drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size) override
void setAngle (double angle)
- Public Member Functions inherited from QgsSymbolLayerV2
virtual ~QgsSymbolLayerV2 ()
virtual QColor color () const
virtual const QgsExpressiondataDefinedProperty (const QString &property) const
virtual QString dataDefinedPropertyString (const QString &property) const
virtual QColor dxfBrushColor (const QgsSymbolV2RenderContext &context) const
virtual Qt::BrushStyle dxfBrushStyle () const
virtual QColor dxfColor (const QgsSymbolV2RenderContext &context) const
virtual QVector< qreal > dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const
virtual double dxfOffset (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const
virtual Qt::PenStyle dxfPenStyle () const
virtual double dxfWidth (const QgsDxfExport &e, const QgsSymbolV2RenderContext &context) const
virtual double estimateMaxBleed () const
 Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.
virtual QColor fillColor () const
 Get fill color.
bool hasDataDefinedProperties () const
bool isLocked () const
virtual QString ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const
virtual QColor outlineColor () const
 Get outline color.
virtual void removeDataDefinedProperties ()
virtual void removeDataDefinedProperty (const QString &property)
int renderingPass () const
virtual void setDataDefinedProperty (const QString &property, const QString &expressionString)
virtual void setFillColor (const QColor &color)
 Set fill color.
void setLocked (bool locked)
virtual void setOutlineColor (const QColor &color)
 Set outline color.
void setRenderingPass (int renderingPass)
QgsSymbolV2::SymbolType type () const
virtual bool writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, const QgsSymbolV2RenderContext *context, const QgsFeature *f, const QPointF &shift=QPointF(0.0, 0.0)) const

Static Public Member Functions

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

Protected Attributes

QgsMarkerSymbolV2mMarker
bool mPointOnSurface
- Protected Attributes inherited from QgsFillSymbolLayerV2
double mAngle
- Protected Attributes inherited from QgsSymbolLayerV2
QColor mColor
QMap< QString, QgsExpression * > mDataDefinedProperties
bool mLocked
int mRenderingPass
QgsSymbolV2::SymbolType mType

Additional Inherited Members

- Protected Member Functions inherited from QgsFillSymbolLayerV2
 QgsFillSymbolLayerV2 (bool locked=false)
void _renderPolygon (QPainter *p, const QPolygonF &points, const QList< QPolygonF > *rings, QgsSymbolV2RenderContext &context)
 Default method to render polygon.
- Static Protected Attributes inherited from QgsSymbolLayerV2
static const bool selectFillBorder = false
static const bool selectFillStyle = false
static const bool selectionIsOpaque = true

Detailed Description

Definition at line 1048 of file qgsfillsymbollayerv2.h.

Constructor & Destructor Documentation

QgsCentroidFillSymbolLayerV2::QgsCentroidFillSymbolLayerV2 ( )

Definition at line 3357 of file qgsfillsymbollayerv2.cpp.

QgsCentroidFillSymbolLayerV2::~QgsCentroidFillSymbolLayerV2 ( )

Definition at line 3362 of file qgsfillsymbollayerv2.cpp.

Member Function Documentation

QgsSymbolLayerV2 * QgsCentroidFillSymbolLayerV2::clone ( ) const
overridevirtual

Implements QgsSymbolLayerV2.

Definition at line 3414 of file qgsfillsymbollayerv2.cpp.

QgsSymbolLayerV2 * QgsCentroidFillSymbolLayerV2::create ( const QgsStringMap properties = QgsStringMap())
static

Definition at line 3367 of file qgsfillsymbollayerv2.cpp.

QgsSymbolLayerV2 * QgsCentroidFillSymbolLayerV2::createFromSld ( QDomElement &  element)
static

Definition at line 3432 of file qgsfillsymbollayerv2.cpp.

QString QgsCentroidFillSymbolLayerV2::layerType ( ) const
overridevirtual

Implements QgsSymbolLayerV2.

Definition at line 3377 of file qgsfillsymbollayerv2.cpp.

QgsMapUnitScale QgsCentroidFillSymbolLayerV2::mapUnitScale ( ) const
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3506 of file qgsfillsymbollayerv2.cpp.

QgsSymbolV2::OutputUnit QgsCentroidFillSymbolLayerV2::outputUnit ( ) const
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3489 of file qgsfillsymbollayerv2.cpp.

bool QgsCentroidFillSymbolLayerV2::pointOnSurface ( ) const
inline

Definition at line 1089 of file qgsfillsymbollayerv2.h.

QgsStringMap QgsCentroidFillSymbolLayerV2::properties ( ) const
overridevirtual

Implements QgsSymbolLayerV2.

Definition at line 3407 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::renderPolygon ( const QPolygonF &  points,
QList< QPolygonF > *  rings,
QgsSymbolV2RenderContext context 
)
overridevirtual

Implements QgsFillSymbolLayerV2.

Definition at line 3399 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::setColor ( const QColor &  color)
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3382 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::setMapUnitScale ( const QgsMapUnitScale scale)
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3498 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::setOutputUnit ( QgsSymbolV2::OutputUnit  unit)
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3481 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::setPointOnSurface ( bool  pointOnSurface)
inline

Definition at line 1088 of file qgsfillsymbollayerv2.h.

bool QgsCentroidFillSymbolLayerV2::setSubSymbol ( QgsSymbolV2 symbol)
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3455 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context)
overridevirtual

Implements QgsSymbolLayerV2.

Definition at line 3388 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context)
overridevirtual

Implements QgsSymbolLayerV2.

Definition at line 3394 of file qgsfillsymbollayerv2.cpp.

QgsSymbolV2 * QgsCentroidFillSymbolLayerV2::subSymbol ( )
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3450 of file qgsfillsymbollayerv2.cpp.

void QgsCentroidFillSymbolLayerV2::toSld ( QDomDocument &  doc,
QDomElement &  element,
QgsStringMap  props 
) const
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3424 of file qgsfillsymbollayerv2.cpp.

QSet< QString > QgsCentroidFillSymbolLayerV2::usedAttributes ( ) const
overridevirtual

Reimplemented from QgsSymbolLayerV2.

Definition at line 3469 of file qgsfillsymbollayerv2.cpp.

Member Data Documentation

QgsMarkerSymbolV2* QgsCentroidFillSymbolLayerV2::mMarker
protected

Definition at line 1092 of file qgsfillsymbollayerv2.h.

bool QgsCentroidFillSymbolLayerV2::mPointOnSurface
protected

Definition at line 1093 of file qgsfillsymbollayerv2.h.


The documentation for this class was generated from the following files: