QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Implementation of threaded rendering for annotation layers. More...
#include <qgsannotationlayerrenderer.h>
Public Member Functions | |
QgsAnnotationLayerRenderer (QgsAnnotationLayer *layer, QgsRenderContext &context) | |
Constructor for a QgsAnnotationLayerRenderer, for the specified layer. More... | |
~QgsAnnotationLayerRenderer () override | |
QgsFeedback * | feedback () 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... | |
QgsRenderContext * | renderContext () |
Returns the render context associated with the renderer. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QgsMapLayerRenderer | |
QStringList | mErrors |
QString | mLayerID |
Implementation of threaded rendering for annotation layers.
Definition at line 36 of file qgsannotationlayerrenderer.h.
QgsAnnotationLayerRenderer::QgsAnnotationLayerRenderer | ( | QgsAnnotationLayer * | layer, |
QgsRenderContext & | context | ||
) |
Constructor for a QgsAnnotationLayerRenderer, for the specified layer.
Definition at line 21 of file qgsannotationlayerrenderer.cpp.
|
override |
Definition at line 37 of file qgsannotationlayerrenderer.cpp.
|
overridevirtual |
Access to feedback object of the layer renderer (may be nullptr
)
Reimplemented from QgsMapLayerRenderer.
Definition at line 42 of file qgsannotationlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 47 of file qgsannotationlayerrenderer.cpp.