QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Encapsulates the context of a layer selection operation. More...
#include <qgsselectioncontext.h>
Public Member Functions | |
double | scale () const |
Returns the map scale at which the selection should occur. More... | |
void | setScale (double scale) |
Sets the map scale at which the selection should occur. More... | |
Encapsulates the context of a layer selection operation.
Definition at line 29 of file qgsselectioncontext.h.
double QgsSelectionContext::scale | ( | ) | const |
Returns the map scale at which the selection should occur.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
Definition at line 24 of file qgsselectioncontext.cpp.
void QgsSelectionContext::setScale | ( | double | scale | ) |
Sets the map scale at which the selection should occur.
The scale value indicates the scale denominator, e.g. 1000.0 for a 1:1000 map.
Definition at line 19 of file qgsselectioncontext.cpp.