Utilities for map settings.
More...
#include <qgsmapsettingsutils.h>
Utilities for map settings.
- Since
- QGIS 3.0
Definition at line 31 of file qgsmapsettingsutils.h.
◆ EffectsCheckFlag
◆ containsAdvancedEffects()
QStringList QgsMapSettingsUtils::containsAdvancedEffects |
( |
const QgsMapSettings & |
mapSettings, |
|
|
EffectsCheckFlags |
flags = QgsMapSettingsUtils::EffectsCheckFlags() |
|
) |
| |
|
static |
Checks whether any of the layers attached to a map settings object contain advanced effects.
The optional flags argument can be used to fine-tune the check behavior.
Definition at line 27 of file qgsmapsettingsutils.cpp.
◆ worldFileContent()
QString QgsMapSettingsUtils::worldFileContent |
( |
const QgsMapSettings & |
mapSettings | ) |
|
|
static |
Creates the content of a world file.
- Parameters
-
- Note
- Uses 17 places of precision for all numbers output
Definition at line 123 of file qgsmapsettingsutils.cpp.
◆ worldFileParameters()
void QgsMapSettingsUtils::worldFileParameters |
( |
const QgsMapSettings & |
mapSettings, |
|
|
double & |
a, |
|
|
double & |
b, |
|
|
double & |
c, |
|
|
double & |
d, |
|
|
double & |
e, |
|
|
double & |
f |
|
) |
| |
|
static |
Computes the six parameters of a world file.
- Parameters
-
mapSettings | map settings |
a | the a parameter |
b | the b parameter |
c | the c parameter |
d | the d parameter |
e | the e parameter |
f | the f parameter |
- Since
- QGIS 3.10
Definition at line 78 of file qgsmapsettingsutils.cpp.
The documentation for this class was generated from the following files: