|
QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
Utilities for map settings. More...
#include <qgsmapsettingsutils.h>
Public Types | |
| enum class | EffectsCheckFlag : int { IgnoreGeoPdfSupportedEffects = 1 << 0 } |
| Flags for controlling the behavior of containsAdvancedEffects() More... | |
Static Public Member Functions | |
| static QStringList | containsAdvancedEffects (const QgsMapSettings &mapSettings, EffectsCheckFlags flags=QgsMapSettingsUtils::EffectsCheckFlags()) |
| Checks whether any of the layers attached to a map settings object contain advanced effects. | |
| static QString | worldFileContent (const QgsMapSettings &mapSettings) |
| Creates the content of a world file. | |
| static void | worldFileParameters (const QgsMapSettings &mapSettings, double &a, double &b, double &c, double &d, double &e, double &f) |
| Computes the six parameters of a world file. | |
Utilities for map settings.
Definition at line 31 of file qgsmapsettingsutils.h.
|
strong |
Flags for controlling the behavior of containsAdvancedEffects()
| Enumerator | |
|---|---|
| IgnoreGeoPdfSupportedEffects | Ignore advanced effects which are supported in GeoPDF exports. |
Definition at line 40 of file qgsmapsettingsutils.h.
|
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.
|
static |
Creates the content of a world file.
| mapSettings | map settings |
Definition at line 123 of file qgsmapsettingsutils.cpp.
|
static |
Computes the six parameters of a world file.
| 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 |
Definition at line 78 of file qgsmapsettingsutils.cpp.