QGIS API Documentation  2.99.0-Master (8ec3eaf)
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 741 of file qgspallabeling.h.

Constructor & Destructor Documentation

§ QgsLabelingResults()

QgsLabelingResults::QgsLabelingResults ( )

Definition at line 4083 of file qgspallabeling.cpp.

§ ~QgsLabelingResults()

QgsLabelingResults::~QgsLabelingResults ( )

Definition at line 4088 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 4094 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 4112 of file qgspallabeling.cpp.

Friends And Related Function Documentation

§ QgsPalLabeling

friend class QgsPalLabeling
friend

Definition at line 758 of file qgspallabeling.h.

§ QgsVectorLayerDiagramProvider

friend class QgsVectorLayerDiagramProvider
friend

Definition at line 760 of file qgspallabeling.h.

§ QgsVectorLayerLabelProvider

friend class QgsVectorLayerLabelProvider
friend

Definition at line 759 of file qgspallabeling.h.


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