18 #ifndef QGSDXFPALLABELING_H
19 #define QGSDXFPALLABELING_H
100 #endif // QGSDXFPALLABELING_H
Implements a derived label provider for rule based labels internally used for DXF export...
The QgsVectorLayerLabelProvider class implements a label provider for vector layers.
void registerDxfFeature(QgsFeature &feature, QgsRenderContext &context, const QString &dxfLayerName)
Registration method that keeps track of DXF layer names of individual features.
void drawLabel(QgsRenderContext &context, pal::LabelPosition *label) const override
Re-implementation that writes to DXF file instead of drawing with QPainter.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
void drawLabel(QgsRenderContext &context, pal::LabelPosition *label) const override
Re-implementation that writes to DXF file instead of drawing with QPainter.
void reinit(QgsVectorLayer *layer)
Reinitialize the subproviders with QgsDxfLabelProviders.
virtual QgsVectorLayerLabelProvider * createProvider(QgsVectorLayer *layer, bool withFeatureLoop, const QgsPalLayerSettings *settings) override
create QgsDxfLabelProvider
Contains information about the context of a rendering operation.
QgsDxfLabelProvider(QgsVectorLayer *layer, QgsDxfExport *dxf, const QgsPalLayerSettings *settings)
construct the provider
QgsDxfExport * mDxfExport
pointer to parent DXF export where this instance is used
LabelPosition is a candidate feature label position.
void registerDxfFeature(QgsFeature &feature, QgsRenderContext &context, const QString &dxfLayerName)
Registration method that keeps track of DXF layer names of individual features.
QgsDxfRuleBasedLabelProvider(const QgsRuleBasedLabeling &rules, QgsVectorLayer *layer, QgsDxfExport *dxf)
construct the provider
Implements a derived label provider internally used for DXF export.
QgsDxfExport * mDxfExport
pointer to parent DXF export where this instance is used
Represents a vector layer which manages a vector based data sets.