18 #ifndef QGSANNOTATIONMARKERITEM_H 19 #define QGSANNOTATIONMARKERITEM_H 21 #include "qgis_core.h" 42 QString
type()
const override;
92 std::unique_ptr< QgsMarkerSymbol > mSymbol;
100 #endif // QGSANNOTATIONMARKERITEM_H The class is used as a container of context for various read/write operations on other objects...
A rectangle specified with double values.
virtual QString type() const =0
Returns a unique (untranslated) string identifying the type of item.
A class to represent a 2D point.
virtual QgsAnnotationItem * clone()=0
Returns a clone of the item.
An annotation item which renders a marker symbol at a point location.
A marker symbol type, for rendering Point and MultiPoint geometries.
virtual bool readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads the item's state from the given DOM element.
Base class for feedback objects to be used for cancellation of something running in a worker thread...
Point geometry type, with support for z-dimension and m-values.
virtual bool writeXml(QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const =0
Writes the item's state into an XML element.
virtual void render(QgsRenderContext &context, QgsFeedback *feedback)=0
Renders the item to the specified render context.
Abstract base class for annotation items which are drawn with QgsAnnotationLayers.
Contains information about the context of a rendering operation.
void setGeometry(const QgsPoint &geometry)
Sets the point geometry location of the marker.
virtual QgsRectangle boundingBox() const =0
Returns the bounding box of the item's geographic location, in the parent layer's coordinate referenc...
QgsPointXY geometry() const
Returns the point geometry of the marker.