QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
Abstract base class that can be used to intercept rendered labels from a labeling / rendering job. More...
#include <qgslabelsink.h>
Public Member Functions | |
virtual | ~QgsLabelSink ()=default |
virtual void | drawLabel (const QString &layerId, QgsRenderContext &context, pal::LabelPosition *label, const QgsPalLayerSettings &settings)=0 |
The drawLabel method is called for each label that is being drawn. More... | |
virtual void | drawUnplacedLabel (const QString &layerId, QgsRenderContext &context, pal::LabelPosition *label, const QgsPalLayerSettings &settings) |
The drawLabel method is called for each unplaced label. More... | |
Abstract base class that can be used to intercept rendered labels from a labeling / rendering job.
Definition at line 37 of file qgslabelsink.h.
|
virtualdefault |
|
pure virtual |
The drawLabel method is called for each label that is being drawn.
Every subclass must implement this method to draw the label or send the information from label to another desired location.
Implemented in QgsDxfExport.
|
inlinevirtual |
The drawLabel method is called for each unplaced label.
layerId | The layer ID associated to the label |
context | The render context object |
label | The label object |
settings | The layer labeling settings |
Definition at line 57 of file qgslabelsink.h.