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

Helper class for sorting labels into correct draw order. More...

Public Member Functions

 QgsLabelSorter (const QgsMapSettings &mapSettings)
 
bool operator() (pal::LabelPosition *lp1, pal::LabelPosition *lp2) const
 

Detailed Description

Helper class for sorting labels into correct draw order.

Definition at line 39 of file qgslabelingenginev2.cpp.

Constructor & Destructor Documentation

◆ QgsLabelSorter()

QgsLabelSorter::QgsLabelSorter ( const QgsMapSettings mapSettings)
inlineexplicit

Definition at line 43 of file qgslabelingenginev2.cpp.

Member Function Documentation

◆ operator()()

bool QgsLabelSorter::operator() ( pal::LabelPosition lp1,
pal::LabelPosition lp2 
) const
inline

Definition at line 47 of file qgslabelingenginev2.cpp.


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