18 #ifndef QGSANNOTATION_H 19 #define QGSANNOTATION_H 45 virtual bool showItem()
const = 0;
54 virtual bool mapPositionFixed()
const = 0;
78 virtual double scaleFactor()
const = 0;
82 virtual void setItemData(
int role,
const QVariant& value ) = 0;
90 #endif // QGSANNOTATION_H virtual QgsPoint mapPosition() const
Returns the map position of the annotation, if it is attached to a fixed map position.
An interface for annotation items which are drawn over a map.
virtual QPointF relativePosition() const
Returns the relative position of the annotation, if it is not attached to a fixed map position...
A class to represent a point.
virtual QgsCoordinateReferenceSystem mapPositionCrs() const
Returns the CRS of the map position, or an invalid CRS if the annotation does not have a fixed map po...
Class for storing a coordinate reference system (CRS)