QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef QGSANNOTATIONITEMEDITOPERATION_H
18 #define QGSANNOTATIONITEMEDITOPERATION_H
20 #include "qgis_core.h"
57 virtual Type type()
const = 0;
62 QString itemId()
const {
return mItemId; }
216 double mTranslateX = 0;
217 double mTranslateY = 0;
238 : mRepresentativeGeometry( representativeGeometry )
254 #endif // QGSANNOTATIONITEMEDITOPERATION_H
Point geometry type, with support for z-dimension and m-values.
Annotation item edit operation consisting of translating (moving) an item.
Annotation item edit operation consisting of deleting a node.
virtual Type type() const =0
Returns the operation type.
QgsVertexId nodeId() const
Returns the deleted node ID.
QgsPoint point() const
Returns the node position (in layer coordinates).
QgsVertexId nodeId() const
Returns the associated node ID.
QgsVertexId nodeId() const
Returns the deleted node ID.
Annotation item edit operation consisting of moving a node.
Abstract base class for annotation item edit operations.
QgsPoint after() const
Returns the node position after the move occurred (in layer coordinates).
QgsPoint before() const
Returns the node position before the delete occurred (in layer coordinates).
A geometry is the spatial representation of a feature.
QgsPoint before() const
Returns the node position before the move occurred (in layer coordinates).
Utility class for identifying a unique vertex within a geometry.
QgsAnnotationItemEditOperationTransientResults(const QgsGeometry &representativeGeometry)
Constructor for QgsAnnotationItemEditOperationTransientResults.
Annotation item edit operation consisting of adding a node.
double translationY() const
Returns the y-axis translation, in layer units.
double translationX() const
Returns the x-axis translation, in layer units.
Encapsulates the transient results of an in-progress annotation edit operation.
QgsGeometry representativeGeometry() const
Returns the geometry (in layer CRS) which represents the shape of the item if the operation were to b...