QGIS API Documentation  2.17.0-Master (dfeb663)
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 5294 of file qgspallabeling.cpp.

§ ~QgsLabelingResults()

QgsLabelingResults::~QgsLabelingResults ( )

Definition at line 5299 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 5305 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 5323 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: