19 #ifndef QGSLABELSEARCHTREE_H 20 #define QGSLABELSEARCHTREE_H 22 #include "qgis_core.h" 82 bool insertLabel(
pal::LabelPosition *labelPos,
QgsFeatureId featureId,
const QString &layerName,
const QString &labeltext,
const QFont &labelfont,
bool diagram =
false,
bool pinned =
false,
const QString &providerId = QString(),
bool isUnplaced =
false )
SIP_SKIP;
92 mutable pal::RTree<QgsLabelPosition *, double, 2, double> mSpatialIndex;
93 std::vector< std::unique_ptr< QgsLabelPosition > > mOwnedPositions;
95 QTransform mTransform;
105 #endif // QGSLABELTREE_H A rectangle specified with double values.
A class to query the labeling structure at a given point (small wrapper around pal RTree class) ...
A class to represent a 2D point.
The QgsMapSettings class contains configuration for rendering of the map.
LabelPosition is a candidate feature label position.