Skip to content
Permalink
Browse files

More dox

  • Loading branch information
m-kuhn committed May 8, 2020
1 parent 283172f commit cd8f1f10381070483e7ec64d8666982e57064cf1
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/core/labeling/qgslabelsink.h
@@ -39,6 +39,11 @@ class QgsLabelSink
public:
virtual ~QgsLabelSink() = default;

/**
* 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 \a label
* to another desired location.
*/
virtual void drawLabel( const QString &layerId, QgsRenderContext &context, pal::LabelPosition *label, const QgsPalLayerSettings &settings ) = 0;
};

0 comments on commit cd8f1f1

Please sign in to comment.
You can’t perform that action at this time.