QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Friends | List of all members
QgsLabelingResults Class Reference

Class that stores computed placement from labeling engine. More...

#include <qgspallabeling.h>

Public Member Functions

 QgsLabelingResults ()
 
 ~QgsLabelingResults ()
 
QList< QgsLabelPositionlabelsAtPosition (const QgsPoint &p) const
 return infos about labels at a given (map) position More...
 
QList< QgsLabelPositionlabelsWithinRect (const QgsRectangle &r) const
 return infos about labels within a given (map) rectangle More...
 

Friends

class QgsPalLabeling
 
class QgsVectorLayerDiagramProvider
 
class QgsVectorLayerLabelProvider
 

Detailed Description

Class that stores computed placement from labeling engine.

Note
added in 2.4

Definition at line 849 of file qgspallabeling.h.

Constructor & Destructor Documentation

◆ QgsLabelingResults()

QgsLabelingResults::QgsLabelingResults ( )

Definition at line 5278 of file qgspallabeling.cpp.

◆ ~QgsLabelingResults()

QgsLabelingResults::~QgsLabelingResults ( )

Definition at line 5283 of file qgspallabeling.cpp.

Member Function Documentation

◆ labelsAtPosition()

QList< QgsLabelPosition > QgsLabelingResults::labelsAtPosition ( const QgsPoint p) const

return infos about labels at a given (map) position

Definition at line 5289 of file qgspallabeling.cpp.

◆ labelsWithinRect()

QList< QgsLabelPosition > QgsLabelingResults::labelsWithinRect ( const QgsRectangle r) const

return infos about labels within a given (map) rectangle

Definition at line 5307 of file qgspallabeling.cpp.

Friends And Related Function Documentation

◆ QgsPalLabeling

friend class QgsPalLabeling
friend

Definition at line 866 of file qgspallabeling.h.

◆ QgsVectorLayerDiagramProvider

friend class QgsVectorLayerDiagramProvider
friend

Definition at line 868 of file qgspallabeling.h.

◆ QgsVectorLayerLabelProvider

friend class QgsVectorLayerLabelProvider
friend

Definition at line 867 of file qgspallabeling.h.


The documentation for this class was generated from the following files: