18#ifndef QGSANNOTATIONPOLYGONITEM_H 
   19#define QGSANNOTATIONPOLYGONITEM_H 
   43    QString 
type() 
const override;
 
   46    QList< QgsAnnotationItemNode > 
nodes() 
const override;
 
   95    std::unique_ptr< QgsCurvePolygon > mPolygon;
 
   96    std::unique_ptr< QgsFillSymbol > mSymbol;
 
 
AnnotationItemEditOperationResult
Results from an edit operation on an annotation item.
 
Abstract base class for annotation item edit operations.
 
Encapsulates the transient results of an in-progress annotation edit operation.
 
Abstract base class for annotation items which are drawn with QgsAnnotationLayers.
 
virtual bool writeXml(QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const =0
Writes the item's state into an XML element.
 
virtual QString type() const =0
Returns a unique (untranslated) string identifying the type of item.
 
virtual void render(QgsRenderContext &context, QgsFeedback *feedback)=0
Renders the item to the specified render context.
 
virtual QgsAnnotationItemEditOperationTransientResults * transientEditResults(QgsAbstractAnnotationItemEditOperation *operation)
Retrieves the results of a transient (in progress) edit operation on the item.
 
virtual QList< QgsAnnotationItemNode > nodes() const
Returns the nodes for the item, used for editing the item.
 
virtual Qgis::AnnotationItemEditOperationResult applyEdit(QgsAbstractAnnotationItemEditOperation *operation)
Applies an edit operation to the item.
 
An annotation item which renders a fill symbol for a polygon geometry.
 
~QgsAnnotationPolygonItem() override
 
Curve polygon geometry type.
 
Base class for feedback objects to be used for cancellation of something running in a worker thread.
 
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
 
The class is used as a container of context for various read/write operations on other objects.
 
A rectangle specified with double values.
 
Contains information about the context of a rendering operation.