| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
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.