QGIS API Documentation  2.14.0-Essen
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
QgsSymbolLayerV2 Class Referenceabstract

#include <qgssymbollayerv2.h>

Inheritance diagram for QgsSymbolLayerV2:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsSymbolLayerV2 ()
 
virtual QgsSymbolLayerV2clone () const =0
 Shall be reimplemented by subclasses to create a deep copy of the instance. More...
 
virtual QColor color () const
 The fill color. More...
 
virtual Q_DECL_DEPRECATED const QgsExpressiondataDefinedProperty (const QString &property) const
 Returns a data defined expression for a property, if set. More...
 
virtual Q_DECL_DEPRECATED QString dataDefinedPropertyString (const QString &property) const
 Returns a data defined expression for a property, if set. More...
 
virtual void drawPreviewIcon (QgsSymbolV2RenderContext &context, QSize size)=0
 
virtual QColor dxfBrushColor (QgsSymbolV2RenderContext &context) const
 
virtual Qt::BrushStyle dxfBrushStyle () const
 
virtual QColor dxfColor (QgsSymbolV2RenderContext &context) const
 
virtual QVector< qreal > dxfCustomDashPattern (QgsSymbolV2::OutputUnit &unit) const
 
virtual double dxfOffset (const QgsDxfExport &e, QgsSymbolV2RenderContext &context) const
 
virtual Qt::PenStyle dxfPenStyle () const
 
virtual double dxfWidth (const QgsDxfExport &e, QgsSymbolV2RenderContext &context) const
 
virtual double estimateMaxBleed () const
 Returns the estimated maximum distance which the layer style will bleed outside the drawn shape. More...
 
virtual Q_DECL_DEPRECATED QVariant evaluateDataDefinedProperty (const QString &property, const QgsFeature *feature, const QVariant &defaultVal=QVariant(), bool *ok=nullptr) const
 Evaluates the matching data defined property and returns the calculated value. More...
 
virtual QVariant evaluateDataDefinedProperty (const QString &property, const QgsSymbolV2RenderContext &context, const QVariant &defaultVal=QVariant(), bool *ok=nullptr) const
 Evaluates the matching data defined property and returns the calculated value. More...
 
virtual QColor fillColor () const
 Get fill color. More...
 
virtual QgsDataDefinedgetDataDefinedProperty (const QString &property) const
 Returns the data defined property corresponding to the specified property key. More...
 
virtual bool hasDataDefinedProperties () const
 Checks whether the layer has any associated data defined properties. More...
 
virtual bool hasDataDefinedProperty (const QString &property) const
 Checks whether the layer has a matching data defined property and if that property is currently actived. More...
 
virtual bool isCompatibleWithSymbol (QgsSymbolV2 *symbol) const
 Returns if the layer can be used below the specified symbol. More...
 
bool isLocked () const
 
virtual QString layerType () const =0
 Returns a string that represents this layer type. More...
 
virtual QgsMapUnitScale mapUnitScale () const
 
virtual QString ogrFeatureStyle (double mmScaleFactor, double mapUnitScaleFactor) const
 
virtual QColor outlineColor () const
 Get outline color. More...
 
virtual QgsSymbolV2::OutputUnit outputUnit () const
 
QgsPaintEffectpaintEffect () const
 Returns the current paint effect for the layer. More...
 
virtual QgsStringMap properties () const =0
 Should be reimplemented by subclasses to return a string map that contains the configuration information for the symbol layer. More...
 
virtual void removeDataDefinedProperties ()
 Removes all data defined properties from the layer and deletes associated objects. More...
 
virtual void removeDataDefinedProperty (const QString &property)
 Removes a data defined property from the layer. More...
 
int renderingPass () const
 
virtual void setColor (const QColor &color)
 The fill color. More...
 
virtual Q_DECL_DEPRECATED void setDataDefinedProperty (const QString &property, const QString &expressionString)
 Sets a data defined expression for a property. More...
 
virtual void setDataDefinedProperty (const QString &property, QgsDataDefined *dataDefined)
 Sets a data defined property for the layer. More...
 
virtual void setFillColor (const QColor &color)
 Set fill color. More...
 
void setLocked (bool locked)
 
virtual void setMapUnitScale (const QgsMapUnitScale &scale)
 
virtual void setOutlineColor (const QColor &color)
 Set outline color. More...
 
virtual void setOutputUnit (QgsSymbolV2::OutputUnit unit)
 
void setPaintEffect (QgsPaintEffect *effect)
 Sets the current paint effect for the layer. More...
 
void setRenderingPass (int renderingPass)
 
virtual bool setSubSymbol (QgsSymbolV2 *symbol)
 set layer's subsymbol. takes ownership of the passed symbol More...
 
virtual void startRender (QgsSymbolV2RenderContext &context)=0
 
virtual void stopRender (QgsSymbolV2RenderContext &context)=0
 
virtual QgsSymbolV2subSymbol ()
 
virtual void toSld (QDomDocument &doc, QDomElement &element, const QgsStringMap &props) const
 
QgsSymbolV2::SymbolType type () const
 
virtual QSet< QStringusedAttributes () const
 Returns the set of attributes referenced by the layer. More...
 
virtual bool writeDxf (QgsDxfExport &e, double mmMapUnitScaleFactor, const QString &layerName, QgsSymbolV2RenderContext *context, const QgsFeature *f, QPointF shift=QPointF(0.0, 0.0)) const
 

Protected Member Functions

 QgsSymbolLayerV2 (QgsSymbolV2::SymbolType type, bool locked=false)
 
void copyDataDefinedProperties (QgsSymbolLayerV2 *destLayer) const
 Copies all data defined properties of this layer to another symbol layer. More...
 
void copyPaintEffect (QgsSymbolLayerV2 *destLayer) const
 Copies paint effect of this layer to another symbol layer. More...
 
virtual Q_DECL_DEPRECATED QgsExpressionexpression (const QString &property) const
 Returns the data defined expression associated with a property. More...
 
virtual Q_DECL_DEPRECATED void prepareExpressions (const QgsFields *fields, double scale=-1.0)
 Prepares all data defined property expressions for evaluation. More...
 
virtual void prepareExpressions (const QgsSymbolV2RenderContext &context)
 Prepares all data defined property expressions for evaluation. More...
 
void restoreDataDefinedProperties (const QgsStringMap &stringMap)
 Restores all data defined properties from string map. More...
 
void saveDataDefinedProperties (QgsStringMap &stringMap) const
 Saves all data defined properties to a string map. More...
 

Protected Attributes

QColor mColor
 
QMap< QString, QgsDataDefined * > mDataDefinedProperties
 
QgsFields mFields
 
bool mLocked
 
QgsPaintEffectmPaintEffect
 
int mRenderingPass
 
QgsSymbolV2::SymbolType mType
 

Static Protected Attributes

static const QString EXPR_ALPHA
 
static const QString EXPR_ANGLE
 
static const QString EXPR_BLUR_RADIUS
 
static const QString EXPR_BORDER_COLOR
 
static const QString EXPR_BORDER_STYLE
 
static const QString EXPR_CAPSTYLE
 
static const QString EXPR_CHAR
 
static const QString EXPR_COLOR
 
static const QString EXPR_COLOR2
 
static const QString EXPR_COLOR_BORDER
 
static const QString EXPR_COORDINATE_MODE
 
static const QString EXPR_CUSTOMDASH
 
static const QString EXPR_DISPLACEMENT_X
 
static const QString EXPR_DISPLACEMENT_Y
 
static const QString EXPR_DISTANCE
 
static const QString EXPR_DISTANCE_X
 
static const QString EXPR_DISTANCE_Y
 
static const QString EXPR_FILE
 
static const QString EXPR_FILL
 
static const QString EXPR_FILL_COLOR
 
static const QString EXPR_FILL_STYLE
 
static const QString EXPR_GRADIENT_TYPE
 
static const QString EXPR_HEIGHT
 
static const QString EXPR_HORIZONTAL_ANCHOR_POINT
 
static const QString EXPR_IGNORE_RINGS
 
static const QString EXPR_INTERVAL
 
static const QString EXPR_JOIN_STYLE
 
static const QString EXPR_JOINSTYLE
 
static const QString EXPR_LINE_STYLE
 
static const QString EXPR_LINEANGLE
 
static const QString EXPR_LINEWIDTH
 
static const QString EXPR_MAX_DISTANCE
 
static const QString EXPR_NAME
 
static const QString EXPR_OFFSET
 
static const QString EXPR_OFFSET_ALONG_LINE
 
static const QString EXPR_OUTLINE
 
static const QString EXPR_OUTLINE_COLOR
 
static const QString EXPR_OUTLINE_STYLE
 
static const QString EXPR_OUTLINE_WIDTH
 
static const QString EXPR_PLACEMENT
 
static const QString EXPR_REFERENCE1_ISCENTROID
 
static const QString EXPR_REFERENCE1_X
 
static const QString EXPR_REFERENCE1_Y
 
static const QString EXPR_REFERENCE2_ISCENTROID
 
static const QString EXPR_REFERENCE2_X
 
static const QString EXPR_REFERENCE2_Y
 
static const QString EXPR_ROTATION
 
static const QString EXPR_SIZE
 
static const QString EXPR_SPREAD
 
static const QString EXPR_SVG_FILE
 
static const QString EXPR_SVG_FILL_COLOR
 
static const QString EXPR_SVG_OUTLINE_COLOR
 
static const QString EXPR_SVG_OUTLINE_WIDTH
 
static const QString EXPR_SYMBOL_NAME
 
static const QString EXPR_USE_WHOLE_SHAPE
 
static const QString EXPR_VERTICAL_ANCHOR_POINT
 
static const QString EXPR_WIDTH
 
static const QString EXPR_WIDTH_BORDER
 
static const bool selectFillBorder = false
 
static const bool selectFillStyle = false
 
static const bool selectionIsOpaque = true
 

Detailed Description

Definition at line 47 of file qgssymbollayerv2.h.

Constructor & Destructor Documentation

QgsSymbolLayerV2::~QgsSymbolLayerV2 ( )
virtual

Definition at line 394 of file qgssymbollayerv2.cpp.

QgsSymbolLayerV2::QgsSymbolLayerV2 ( QgsSymbolV2::SymbolType  type,
bool  locked = false 
)
protected

Definition at line 328 of file qgssymbollayerv2.cpp.

Member Function Documentation

virtual QgsSymbolLayerV2* QgsSymbolLayerV2::clone ( ) const
pure virtual
virtual QColor QgsSymbolLayerV2::color ( void  ) const
inlinevirtual

The fill color.

Reimplemented in QgsLinePatternFillSymbolLayer.

Definition at line 56 of file qgssymbollayerv2.h.

void QgsSymbolLayerV2::copyDataDefinedProperties ( QgsSymbolLayerV2 destLayer) const
protected

Copies all data defined properties of this layer to another symbol layer.

Parameters
destLayerdestination layer

Definition at line 464 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::copyPaintEffect ( QgsSymbolLayerV2 destLayer) const
protected

Copies paint effect of this layer to another symbol layer.

Parameters
destLayerdestination layer
Note
added in QGIS 2.9

Definition at line 481 of file qgssymbollayerv2.cpp.

const QgsExpression * QgsSymbolLayerV2::dataDefinedProperty ( const QString property) const
virtual

Returns a data defined expression for a property, if set.

Deprecated:
use getDataDefinedProperty instead

Definition at line 93 of file qgssymbollayerv2.cpp.

QString QgsSymbolLayerV2::dataDefinedPropertyString ( const QString property) const
virtual

Returns a data defined expression for a property, if set.

Deprecated:
use getDataDefinedProperty instead

Definition at line 119 of file qgssymbollayerv2.cpp.

virtual void QgsSymbolLayerV2::drawPreviewIcon ( QgsSymbolV2RenderContext context,
QSize  size 
)
pure virtual
QColor QgsSymbolLayerV2::dxfBrushColor ( QgsSymbolV2RenderContext context) const
virtual

Reimplemented in QgsSimpleFillSymbolLayerV2.

Definition at line 306 of file qgssymbollayerv2.cpp.

Qt::BrushStyle QgsSymbolLayerV2::dxfBrushStyle ( ) const
virtual

Reimplemented in QgsSimpleFillSymbolLayerV2.

Definition at line 312 of file qgssymbollayerv2.cpp.

QColor QgsSymbolLayerV2::dxfColor ( QgsSymbolV2RenderContext context) const
virtual
QVector< qreal > QgsSymbolLayerV2::dxfCustomDashPattern ( QgsSymbolV2::OutputUnit unit) const
virtual

Reimplemented in QgsSimpleLineSymbolLayerV2.

Definition at line 295 of file qgssymbollayerv2.cpp.

double QgsSymbolLayerV2::dxfOffset ( const QgsDxfExport e,
QgsSymbolV2RenderContext context 
) const
virtual

Reimplemented in QgsSimpleLineSymbolLayerV2.

Definition at line 282 of file qgssymbollayerv2.cpp.

Qt::PenStyle QgsSymbolLayerV2::dxfPenStyle ( ) const
virtual
double QgsSymbolLayerV2::dxfWidth ( const QgsDxfExport e,
QgsSymbolV2RenderContext context 
) const
virtual
virtual double QgsSymbolLayerV2::estimateMaxBleed ( ) const
inlinevirtual

Returns the estimated maximum distance which the layer style will bleed outside the drawn shape.

Eg, polygons drawn with an outline will draw half the width of the outline outside of the polygon. This amount is estimated, since it may be affected by data defined symbology rules.

Reimplemented in QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsRasterFillSymbolLayer, QgsImageFillSymbolLayer, QgsShapeburstFillSymbolLayerV2, QgsGradientFillSymbolLayerV2, QgsMarkerLineSymbolLayerV2, QgsSimpleFillSymbolLayerV2, and QgsSimpleLineSymbolLayerV2.

Definition at line 122 of file qgssymbollayerv2.h.

QVariant QgsSymbolLayerV2::evaluateDataDefinedProperty ( const QString property,
const QgsFeature feature,
const QVariant defaultVal = QVariant(),
bool *  ok = nullptr 
) const
virtual

Evaluates the matching data defined property and returns the calculated value.

Prior to evaluation the data defined property must be prepared by calling prepareExpressions.

Parameters
propertyproperty key
featurepointer to the feature to use during expression or field evaluation
defaultValdefault value to return if evaluation was not successful
okif specified, will be set to true if evaluation was successful
Returns
calculated value for data defined property, or default value if property does not exist or is deactived.
See also
hasDataDefinedProperty
getDataDefinedProperty
Note
added in QGIS 2.9
Deprecated:
use variant which takes QgsSymbolV2RenderContext instead

Definition at line 176 of file qgssymbollayerv2.cpp.

QVariant QgsSymbolLayerV2::evaluateDataDefinedProperty ( const QString property,
const QgsSymbolV2RenderContext context,
const QVariant defaultVal = QVariant(),
bool *  ok = nullptr 
) const
virtual

Evaluates the matching data defined property and returns the calculated value.

Prior to evaluation the data defined property must be prepared by calling prepareExpressions.

Parameters
propertyproperty key
contextsymbol render context
defaultValdefault value to return if evaluation was not successful
okif specified, will be set to true if evaluation was successful
Returns
calculated value for data defined property, or default value if property does not exist or is deactived.
See also
hasDataDefinedProperty
getDataDefinedProperty
Note
added in QGIS 2.12

Definition at line 218 of file qgssymbollayerv2.cpp.

QgsExpression * QgsSymbolLayerV2::expression ( const QString property) const
protectedvirtual

Returns the data defined expression associated with a property.

Deprecated:
use getDataDefinedProperty or evaluateDataDefinedProperty instead

Definition at line 113 of file qgssymbollayerv2.cpp.

virtual QColor QgsSymbolLayerV2::fillColor ( ) const
inlinevirtual

Get fill color.

Supported by marker and fill layers.

Note
added in 2.1

Reimplemented in QgsSvgMarkerSymbolLayerV2, QgsSimpleMarkerSymbolLayerV2, QgsSimpleFillSymbolLayerV2, and QgsEllipseSymbolLayerV2.

Definition at line 76 of file qgssymbollayerv2.h.

QgsDataDefined * QgsSymbolLayerV2::getDataDefinedProperty ( const QString property) const
virtual

Returns the data defined property corresponding to the specified property key.

Parameters
propertyproperty key
Returns
matching data defined property if it exists
Note
added in QGIS 2.9
See also
setDataDefinedProperty
hasDataDefinedProperty
evaluateDataDefinedProperty

Definition at line 100 of file qgssymbollayerv2.cpp.

bool QgsSymbolLayerV2::hasDataDefinedProperties ( ) const
virtual

Checks whether the layer has any associated data defined properties.

Returns
true if layer has data defined properties
See also
hasDataDefinedProperty

Definition at line 152 of file qgssymbollayerv2.cpp.

bool QgsSymbolLayerV2::hasDataDefinedProperty ( const QString property) const
virtual

Checks whether the layer has a matching data defined property and if that property is currently actived.

Parameters
propertyproperty key
Returns
true if data defined property exists and is active
See also
hasDataDefinedProperties
evaluateDataDefinedProperty
getDataDefinedProperty
Note
added in QGIS 2.9

Definition at line 167 of file qgssymbollayerv2.cpp.

bool QgsSymbolLayerV2::isCompatibleWithSymbol ( QgsSymbolV2 symbol) const
virtual

Returns if the layer can be used below the specified symbol.

Reimplemented in QgsGeometryGeneratorSymbolLayerV2.

Definition at line 400 of file qgssymbollayerv2.cpp.

bool QgsSymbolLayerV2::isLocked ( ) const
inline

Definition at line 116 of file qgssymbollayerv2.h.

virtual QString QgsSymbolLayerV2::layerType ( ) const
pure virtual
virtual QgsMapUnitScale QgsSymbolLayerV2::mapUnitScale ( ) const
inlinevirtual
virtual QString QgsSymbolLayerV2::ogrFeatureStyle ( double  mmScaleFactor,
double  mapUnitScaleFactor 
) const
inlinevirtual
virtual QColor QgsSymbolLayerV2::outlineColor ( ) const
inlinevirtual

Get outline color.

Supported by marker and fill layers.

Note
added in 2.1

Reimplemented in QgsSvgMarkerSymbolLayerV2, QgsSimpleMarkerSymbolLayerV2, QgsSimpleFillSymbolLayerV2, and QgsEllipseSymbolLayerV2.

Definition at line 68 of file qgssymbollayerv2.h.

virtual QgsSymbolV2::OutputUnit QgsSymbolLayerV2::outputUnit ( ) const
inlinevirtual
QgsPaintEffect * QgsSymbolLayerV2::paintEffect ( ) const

Returns the current paint effect for the layer.

Returns
paint effect
Note
added in QGIS 2.9
See also
setPaintEffect

Definition at line 317 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::prepareExpressions ( const QgsFields fields,
double  scale = -1.0 
)
protectedvirtual

Prepares all data defined property expressions for evaluation.

This should be called prior to evaluating data defined properties.

Parameters
fieldsassociated layer fields
scalemap scale
Deprecated:
use variant which takes QgsSymbolV2RenderContext instead

Definition at line 338 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::prepareExpressions ( const QgsSymbolV2RenderContext context)
protectedvirtual

Prepares all data defined property expressions for evaluation.

This should be called prior to evaluating data defined properties.

Parameters
contextsymbol render context
Note
added in QGIS 2.12

Definition at line 370 of file qgssymbollayerv2.cpp.

virtual QgsStringMap QgsSymbolLayerV2::properties ( ) const
pure virtual
void QgsSymbolLayerV2::removeDataDefinedProperties ( )
virtual

Removes all data defined properties from the layer and deletes associated objects.

See also
removeDataDefinedProperty
Note
added in QGIS 2.9

Definition at line 146 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::removeDataDefinedProperty ( const QString property)
virtual

Removes a data defined property from the layer.

Parameters
propertyunique property key. If an associated QgsDataDefined object exists, it will be deleted and removed from the layer.
Note
added in QGIS 2.9
See also
setDataDefinedProperty
removeDataDefinedProperties

Definition at line 136 of file qgssymbollayerv2.cpp.

int QgsSymbolLayerV2::renderingPass ( ) const
inline

Definition at line 132 of file qgssymbollayerv2.h.

void QgsSymbolLayerV2::restoreDataDefinedProperties ( const QgsStringMap stringMap)
protected

Restores all data defined properties from string map.

Parameters
stringMapsource string map
Note
added in QGIS 2.9
See also
saveDataDefinedProperties

Definition at line 436 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::saveDataDefinedProperties ( QgsStringMap stringMap) const
protected

Saves all data defined properties to a string map.

Parameters
stringMapdestination string map
See also
restoreDataDefinedProperties

Definition at line 424 of file qgssymbollayerv2.cpp.

virtual void QgsSymbolLayerV2::setColor ( const QColor color)
inlinevirtual
void QgsSymbolLayerV2::setDataDefinedProperty ( const QString property,
const QString expressionString 
)
virtual

Sets a data defined expression for a property.

Deprecated:
use setDataDefinedProperty( const QString& property, QgsDataDefined* dataDefined ) instead

Definition at line 125 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::setDataDefinedProperty ( const QString property,
QgsDataDefined dataDefined 
)
virtual

Sets a data defined property for the layer.

Parameters
propertyunique property key. Any existing data defined with the same key will be deleted and overridden.
dataDefineddata defined object to associate with property key. Ownership is transferred to the layer.
Note
added in QGIS 2.9
See also
getDataDefinedProperty
removeDataDefinedProperty

Reimplemented in QgsMarkerLineSymbolLayerV2.

Definition at line 130 of file qgssymbollayerv2.cpp.

virtual void QgsSymbolLayerV2::setFillColor ( const QColor color)
inlinevirtual

Set fill color.

Supported by marker and fill layers.

Note
added in 2.1

Reimplemented in QgsSvgMarkerSymbolLayerV2, QgsSimpleMarkerSymbolLayerV2, QgsSimpleFillSymbolLayerV2, and QgsEllipseSymbolLayerV2.

Definition at line 72 of file qgssymbollayerv2.h.

void QgsSymbolLayerV2::setLocked ( bool  locked)
inline

Definition at line 115 of file qgssymbollayerv2.h.

virtual void QgsSymbolLayerV2::setMapUnitScale ( const QgsMapUnitScale scale)
inlinevirtual
virtual void QgsSymbolLayerV2::setOutlineColor ( const QColor color)
inlinevirtual

Set outline color.

Supported by marker and fill layers.

Note
added in 2.1

Reimplemented in QgsSvgMarkerSymbolLayerV2, QgsSimpleMarkerSymbolLayerV2, QgsSimpleFillSymbolLayerV2, and QgsEllipseSymbolLayerV2.

Definition at line 64 of file qgssymbollayerv2.h.

virtual void QgsSymbolLayerV2::setOutputUnit ( QgsSymbolV2::OutputUnit  unit)
inlinevirtual
void QgsSymbolLayerV2::setPaintEffect ( QgsPaintEffect effect)

Sets the current paint effect for the layer.

Parameters
effectpaint effect. Ownership is transferred to the layer.
Note
added in QGIS 2.9
See also
paintEffect

Definition at line 322 of file qgssymbollayerv2.cpp.

void QgsSymbolLayerV2::setRenderingPass ( int  renderingPass)
inline

Definition at line 131 of file qgssymbollayerv2.h.

virtual bool QgsSymbolLayerV2::setSubSymbol ( QgsSymbolV2 symbol)
inlinevirtual
virtual void QgsSymbolLayerV2::startRender ( QgsSymbolV2RenderContext context)
pure virtual
virtual void QgsSymbolLayerV2::stopRender ( QgsSymbolV2RenderContext context)
pure virtual
virtual QgsSymbolV2* QgsSymbolLayerV2::subSymbol ( )
inlinevirtual
virtual void QgsSymbolLayerV2::toSld ( QDomDocument doc,
QDomElement element,
const QgsStringMap props 
) const
inlinevirtual
QgsSymbolV2::SymbolType QgsSymbolLayerV2::type ( ) const
inline

Definition at line 110 of file qgssymbollayerv2.h.

QSet< QString > QgsSymbolLayerV2::usedAttributes ( ) const
virtual

Returns the set of attributes referenced by the layer.

This includes attributes required by any data defined properties associated with the layer.

Reimplemented in QgsCentroidFillSymbolLayerV2, QgsPointPatternFillSymbolLayer, QgsLinePatternFillSymbolLayer, QgsImageFillSymbolLayer, QgsMarkerLineSymbolLayerV2, QgsGeometryGeneratorSymbolLayerV2, and QgsVectorFieldSymbolLayer.

Definition at line 408 of file qgssymbollayerv2.cpp.

bool QgsSymbolLayerV2::writeDxf ( QgsDxfExport e,
double  mmMapUnitScaleFactor,
const QString layerName,
QgsSymbolV2RenderContext context,
const QgsFeature f,
QPointF  shift = QPointF( 0.0, 0.0 ) 
) const
virtual

Member Data Documentation

const QString QgsSymbolLayerV2::EXPR_ALPHA
staticprotected

Definition at line 378 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_ANGLE
staticprotected

Definition at line 331 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_BLUR_RADIUS
staticprotected

Definition at line 363 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_BORDER_COLOR
staticprotected

Definition at line 351 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_BORDER_STYLE
staticprotected

Definition at line 349 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_CAPSTYLE
staticprotected

Definition at line 382 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_CHAR
staticprotected

Definition at line 340 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_COLOR
staticprotected

Definition at line 333 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_COLOR2
staticprotected

Definition at line 352 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_COLOR_BORDER
staticprotected

Definition at line 334 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_COORDINATE_MODE
staticprotected

Definition at line 355 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_CUSTOMDASH
staticprotected

Definition at line 379 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_DISPLACEMENT_X
staticprotected

Definition at line 375 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_DISPLACEMENT_Y
staticprotected

Definition at line 376 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_DISTANCE
staticprotected

Definition at line 364 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_DISTANCE_X
staticprotected

Definition at line 373 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_DISTANCE_Y
staticprotected

Definition at line 374 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_FILE
staticprotected

Definition at line 377 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_FILL
staticprotected

Definition at line 337 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_FILL_COLOR
staticprotected

Definition at line 341 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_FILL_STYLE
staticprotected

Definition at line 347 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_GRADIENT_TYPE
staticprotected

Definition at line 354 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_HEIGHT
staticprotected

Definition at line 344 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_HORIZONTAL_ANCHOR_POINT
staticprotected

Definition at line 386 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_IGNORE_RINGS
staticprotected

Definition at line 367 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_INTERVAL
staticprotected

Definition at line 384 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_JOIN_STYLE
staticprotected

Definition at line 350 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_JOINSTYLE
staticprotected

Definition at line 381 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_LINE_STYLE
staticprotected

Definition at line 380 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_LINEANGLE
staticprotected

Definition at line 353 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_LINEWIDTH
staticprotected

Definition at line 372 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_MAX_DISTANCE
staticprotected

Definition at line 366 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_NAME
staticprotected

Definition at line 332 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OFFSET
staticprotected

Definition at line 339 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OFFSET_ALONG_LINE
staticprotected

Definition at line 385 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OUTLINE
staticprotected

Definition at line 338 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OUTLINE_COLOR
staticprotected

Definition at line 342 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OUTLINE_STYLE
staticprotected

Definition at line 336 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_OUTLINE_WIDTH
staticprotected

Definition at line 335 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_PLACEMENT
staticprotected

Definition at line 383 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE1_ISCENTROID
staticprotected

Definition at line 361 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE1_X
staticprotected

Definition at line 357 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE1_Y
staticprotected

Definition at line 358 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE2_ISCENTROID
staticprotected

Definition at line 362 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE2_X
staticprotected

Definition at line 359 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_REFERENCE2_Y
staticprotected

Definition at line 360 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_ROTATION
staticprotected

Definition at line 346 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SIZE
staticprotected

Definition at line 330 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SPREAD
staticprotected

Definition at line 356 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SVG_FILE
staticprotected

Definition at line 368 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SVG_FILL_COLOR
staticprotected

Definition at line 369 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SVG_OUTLINE_COLOR
staticprotected

Definition at line 370 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SVG_OUTLINE_WIDTH
staticprotected

Definition at line 371 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_SYMBOL_NAME
staticprotected

Definition at line 345 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_USE_WHOLE_SHAPE
staticprotected

Definition at line 365 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_VERTICAL_ANCHOR_POINT
staticprotected

Definition at line 387 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_WIDTH
staticprotected

Definition at line 343 of file qgssymbollayerv2.h.

const QString QgsSymbolLayerV2::EXPR_WIDTH_BORDER
staticprotected

Definition at line 348 of file qgssymbollayerv2.h.

QColor QgsSymbolLayerV2::mColor
protected

Definition at line 274 of file qgssymbollayerv2.h.

QMap< QString, QgsDataDefined* > QgsSymbolLayerV2::mDataDefinedProperties
protected

Definition at line 277 of file qgssymbollayerv2.h.

QgsFields QgsSymbolLayerV2::mFields
protected

Definition at line 279 of file qgssymbollayerv2.h.

bool QgsSymbolLayerV2::mLocked
protected

Definition at line 273 of file qgssymbollayerv2.h.

QgsPaintEffect* QgsSymbolLayerV2::mPaintEffect
protected

Definition at line 278 of file qgssymbollayerv2.h.

int QgsSymbolLayerV2::mRenderingPass
protected

Definition at line 275 of file qgssymbollayerv2.h.

QgsSymbolV2::SymbolType QgsSymbolLayerV2::mType
protected

Definition at line 272 of file qgssymbollayerv2.h.

const bool QgsSymbolLayerV2::selectFillBorder = false
staticprotected

Definition at line 283 of file qgssymbollayerv2.h.

const bool QgsSymbolLayerV2::selectFillStyle = false
staticprotected

Definition at line 284 of file qgssymbollayerv2.h.

const bool QgsSymbolLayerV2::selectionIsOpaque = true
staticprotected

Definition at line 282 of file qgssymbollayerv2.h.


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