#include <qgstextdiagram.h>
Public Member Functions |
| QgsTextDiagram () |
| ~QgsTextDiagram () |
virtual QgsDiagram * | clone () const |
| Returns an instance that is equivalent to this one.
|
void | renderDiagram (const QgsFeature &feature, QgsRenderContext &c, const QgsDiagramSettings &s, const QPointF &position) |
| Draws the diagram at the given position (in pixel coordinates)
|
QSizeF | diagramSize (const QgsAttributes &attributes, const QgsRenderContext &c, const QgsDiagramSettings &s) |
| Returns the size in map units the diagram will use to render.
|
QSizeF | diagramSize (const QgsFeature &feature, const QgsRenderContext &c, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is) |
| Returns the size in map units the diagram will use to render.
|
QString | diagramName () const |
virtual | ~QgsDiagram () |
void | clearCache () |
QgsExpression * | getExpression (const QString &expression, const QgsFields *fields) |
virtual Q_DECL_DEPRECATED void | renderDiagram (const QgsAttributes &att, QgsRenderContext &c, const QgsDiagramSettings &s, const QPointF &position) |
virtual Q_DECL_DEPRECATED QSizeF | diagramSize (const QgsAttributes &attributes, const QgsRenderContext &c, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is) |
Member Enumeration Documentation
- Enumerator:
Circle |
|
Rectangle |
|
Triangle |
|
Constructor & Destructor Documentation
QgsTextDiagram::QgsTextDiagram |
( |
| ) |
|
QgsTextDiagram::~QgsTextDiagram |
( |
| ) |
|
Member Function Documentation
Returns an instance that is equivalent to this one.
- Note
- added in 2.4
Implements QgsDiagram.
QString QgsTextDiagram::diagramName |
( |
| ) |
const |
|
inlinevirtual |
Returns the size in map units the diagram will use to render.
Implements QgsDiagram.
Returns the size in map units the diagram will use to render.
Interpolate size
Implements QgsDiagram.
Draws the diagram at the given position (in pixel coordinates)
Implements QgsDiagram.
The documentation for this class was generated from the following files: