15#ifndef QGSPIEDIAGRAM_H
16#define QGSPIEDIAGRAM_H
54 QBrush mCategoryBrush;
Additional diagram settings for interpolated size rendering.
Stores the settings for rendering a single diagram.
virtual QgsDiagram * clone() const =0
Returns an instance that is equivalent to this one.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
QSizeF diagramSize(const QgsAttributes &attributes, const QgsRenderContext &c, const QgsDiagramSettings &s) override
Returns the size in map units the diagram will use to render.
static const QString DIAGRAM_NAME_PIE
void renderDiagram(const QgsFeature &feature, QgsRenderContext &c, const QgsDiagramSettings &s, QPointF position) override
Draws the diagram at the given position (in pixel coordinates).
QString diagramName() const override
Gets a descriptive name for this diagram type.
double legendSize(double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &interpolationSettings) const override
Returns the size of the legend item for the diagram corresponding to a specified value.
Contains information about the context of a rendering operation.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
#define SIP_NODEFAULTCTORS