QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
Encapsulates the context for an annotation item edit operation. More...
#include <qgsannotationitemeditoperation.h>
Public Member Functions | |
QgsAnnotationItemEditContext ()=default | |
QgsRectangle | currentItemBounds () const |
Returns the current rendered bounds of the item, in the annotation layer's CRS. | |
QgsRenderContext | renderContext () const |
Returns the render context associated with the edit operation. | |
void | setCurrentItemBounds (const QgsRectangle &bounds) |
Sets the current rendered bounds of the item, in the annotation layer's CRS. | |
void | setRenderContext (const QgsRenderContext &context) |
Sets the render context associated with the edit operation. | |
Encapsulates the context for an annotation item edit operation.
Definition at line 33 of file qgsannotationitemeditoperation.h.
|
default |
QgsRectangle QgsAnnotationItemEditContext::currentItemBounds | ( | ) | const |
Returns the current rendered bounds of the item, in the annotation layer's CRS.
Definition at line 23 of file qgsannotationitemeditoperation.cpp.
QgsRenderContext QgsAnnotationItemEditContext::renderContext | ( | ) | const |
Returns the render context associated with the edit operation.
Definition at line 33 of file qgsannotationitemeditoperation.cpp.
void QgsAnnotationItemEditContext::setCurrentItemBounds | ( | const QgsRectangle & | bounds | ) |
Sets the current rendered bounds of the item, in the annotation layer's CRS.
Definition at line 28 of file qgsannotationitemeditoperation.cpp.
void QgsAnnotationItemEditContext::setRenderContext | ( | const QgsRenderContext & | context | ) |
Sets the render context associated with the edit operation.
Definition at line 38 of file qgsannotationitemeditoperation.cpp.