QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsAnnotationLayerRenderer Class Reference

Implementation of threaded rendering for annotation layers. More...

#include <qgsannotationlayerrenderer.h>

Inheritance diagram for QgsAnnotationLayerRenderer:
Inheritance graph
[legend]

Public Member Functions

 QgsAnnotationLayerRenderer (QgsAnnotationLayer *layer, QgsRenderContext &context)
 Constructor for a QgsAnnotationLayerRenderer, for the specified layer. More...
 
 ~QgsAnnotationLayerRenderer () override
 
QgsFeedbackfeedback () const override
 Access to feedback object of the layer renderer (may be nullptr) More...
 
bool render () override
 Do the rendering (based on data stored in the class) More...
 
- Public Member Functions inherited from QgsMapLayerRenderer
 QgsMapLayerRenderer (const QString &layerID, QgsRenderContext *context=nullptr)
 Constructor for QgsMapLayerRenderer, with the associated layerID and render context. More...
 
virtual ~QgsMapLayerRenderer ()=default
 
QStringList errors () const
 Returns list of errors (problems) that happened during the rendering. More...
 
QString layerId () const
 Gets access to the ID of the layer rendered by this class. More...
 
QgsRenderContextrenderContext ()
 Returns the render context associated with the renderer. More...
 

Additional Inherited Members

- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
 
QString mLayerID
 

Detailed Description

Implementation of threaded rendering for annotation layers.

Note
not available in Python bindings
Since
QGIS 3.16

Definition at line 36 of file qgsannotationlayerrenderer.h.

Constructor & Destructor Documentation

◆ QgsAnnotationLayerRenderer()

QgsAnnotationLayerRenderer::QgsAnnotationLayerRenderer ( QgsAnnotationLayer layer,
QgsRenderContext context 
)

Constructor for a QgsAnnotationLayerRenderer, for the specified layer.

Definition at line 21 of file qgsannotationlayerrenderer.cpp.

◆ ~QgsAnnotationLayerRenderer()

QgsAnnotationLayerRenderer::~QgsAnnotationLayerRenderer ( )
override

Definition at line 37 of file qgsannotationlayerrenderer.cpp.

Member Function Documentation

◆ feedback()

QgsFeedback * QgsAnnotationLayerRenderer::feedback ( ) const
overridevirtual

Access to feedback object of the layer renderer (may be nullptr)

Since
QGIS 3.0

Reimplemented from QgsMapLayerRenderer.

Definition at line 42 of file qgsannotationlayerrenderer.cpp.

◆ render()

bool QgsAnnotationLayerRenderer::render ( )
overridevirtual

Do the rendering (based on data stored in the class)

Implements QgsMapLayerRenderer.

Definition at line 47 of file qgsannotationlayerrenderer.cpp.


The documentation for this class was generated from the following files: