16#ifndef QGSFILLSYMBOL_H
17#define QGSFILLSYMBOL_H
37 static std::unique_ptr< QgsFillSymbol >
createSimple(
const QVariantMap &properties );
70 QRectF polygonBounds(
const QPolygonF &points,
const QVector<QPolygonF> *rings )
const;
72 QVector<QPolygonF> *translateRings(
const QVector<QPolygonF> *rings,
double dx,
double dy )
const;
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
void setAngle(double angle) const
static std::unique_ptr< QgsFillSymbol > createSimple(const QVariantMap &properties)
Create a fill symbol with one symbol layer: SimpleFill with specified properties.
QgsFillSymbol(const QgsSymbolLayerList &layers=QgsSymbolLayerList())
Constructor for QgsFillSymbol, with the specified list of initial symbol layers.
void renderPolygon(const QPolygonF &points, const QVector< QPolygonF > *rings, const QgsFeature *f, QgsRenderContext &context, int layer=-1, bool selected=false)
Renders the symbol using the given render context.
Contains information about the context of a rendering operation.
Abstract base class for symbol layers.
Encapsulates the context in which a symbol is being rendered.
virtual QgsSymbol * clone() const =0
Returns a deep copy of this symbol.
Q_DECL_DEPRECATED const QgsVectorLayer * layer() const
QgsSymbol(Qgis::SymbolType type, const QgsSymbolLayerList &layers)
Constructor for a QgsSymbol of the specified type.
QList< QgsSymbolLayer * > QgsSymbolLayerList