15#ifndef QGSEMBEDDEDSYMBOLRENDERER_H
16#define QGSEMBEDDEDSYMBOLRENDERER_H
53 QSet<QString> usedAttributes( const
QgsRenderContext &context ) const override;
54 bool usesEmbeddedSymbols() const override;
94 std::unique_ptr<QgsSymbol> mDefaultSymbol;
Custom exception class for Coordinate Reference System related exceptions.
A vector feature renderer which uses embedded feature symbology to render per-feature symbols.
~QgsEmbeddedSymbolRenderer() override
Abstract base class for all 2D vector feature renderers.
QFlags< Capability > Capabilities
virtual bool renderFeature(const QgsFeature &feature, QgsRenderContext &context, int layer=-1, bool selected=false, bool drawVertexMarker=false)
Render a feature using this renderer in the given context.
virtual QgsSymbol * symbolForFeature(const QgsFeature &feature, QgsRenderContext &context) const =0
To be overridden.
virtual QgsSymbol * originalSymbolForFeature(const QgsFeature &feature, QgsRenderContext &context) const
Returns symbol for feature.
virtual void startRender(QgsRenderContext &context, const QgsFields &fields)
Must be called when a new render cycle is started.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Container of fields for a vector layer.
A container for the context for various read/write operations on objects.
Contains information about the context of a rendering operation.
Abstract base class for all rendered symbols.
#define SIP_THROW(name,...)
QList< QgsSymbol * > QgsSymbolList