16 #ifndef QGSMASKSYMBOLLAYER_H
17 #define QGSMASKSYMBOLLAYER_H
19 #include "qgis_core.h"
54 QSet<QString> usedAttributes( const
QgsRenderContext &context ) const override;
55 bool hasDataDefinedProperties() const override;
57 QVariantMap properties() const override;
59 QString layerType() const override;
64 bool usesMapUnits() const override;
69 bool enabled()
const {
return ! mMaskedSymbolLayers.isEmpty(); }
76 QList<QgsSymbolLayerReference>
masks()
const override;
83 void setMasks(
const QList<QgsSymbolLayerReference> &maskedLayers );
91 std::unique_ptr<QgsMarkerSymbol> mSymbol;
94 QList<QgsSymbolLayerReference> mMaskedSymbolLayers;
96 std::unique_ptr<QgsPaintEffect> mEffect;
Abstract base class for marker symbol layers.
A marker symbol type, for rendering Point and MultiPoint geometries.
Special symbol layer that uses its sub symbol as a selective mask.
~QgsMaskMarkerSymbolLayer() override
Base class for visual effects which can be applied to QPicture drawings.
Contains information about the context of a rendering operation.
Type used to refer to a specific symbol layer in a symbol of a layer.
virtual QList< QgsSymbolLayerReference > masks() const
Returns masks defined by this symbol layer.
Abstract base class for all rendered symbols.