QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#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... | |
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.