QGIS API Documentation
3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
src
core
qgsselectioncontext.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsselectioncontext.cpp
3
--------------------------
4
begin : June 2022
5
copyright : (C) 2022 by Nyall Dawson
6
email : nyall dot dawson at gmail dot com
7
***************************************************************************/
8
/***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
17
#include "
qgsselectioncontext.h
"
18
19
void
QgsSelectionContext::setScale
(
double
scale )
20
{
21
mScale =
scale
;
22
}
23
24
double
QgsSelectionContext::scale
()
const
25
{
26
return
mScale;
27
}
QgsSelectionContext::setScale
void setScale(double scale)
Sets the map scale at which the selection should occur.
Definition
qgsselectioncontext.cpp:19
QgsSelectionContext::scale
double scale() const
Returns the map scale at which the selection should occur.
Definition
qgsselectioncontext.cpp:24
qgsselectioncontext.h
Generated on Mon Oct 30 2023 18:42:25 for QGIS API Documentation by
1.9.8