QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Static Public Member Functions | List of all members
QgsMapSettingsUtils Class Reference

Utilities for map settings. More...

#include <qgsmapsettingsutils.h>

Static Public Member Functions

static const QStringList containsAdvancedEffects (const QgsMapSettings &mapSettings)
 Checks whether any of the layers attached to a map settings object contain advanced effects. More...
 
static QString worldFileContent (const QgsMapSettings &mapSettings)
 Creates the content of a world file. More...
 
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. More...
 

Detailed Description

Utilities for map settings.

Since
QGIS 3.0

Definition at line 31 of file qgsmapsettingsutils.h.

Member Function Documentation

◆ containsAdvancedEffects()

const QStringList QgsMapSettingsUtils::containsAdvancedEffects ( const QgsMapSettings mapSettings)
static

Checks whether any of the layers attached to a map settings object contain advanced effects.

Parameters
mapSettingsmap settings

Definition at line 26 of file qgsmapsettingsutils.cpp.

◆ worldFileContent()

QString QgsMapSettingsUtils::worldFileContent ( const QgsMapSettings mapSettings)
static

Creates the content of a world file.

Parameters
mapSettingsmap settings
Note
Uses 17 places of precision for all numbers output

Definition at line 114 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
mapSettingsmap settings
athe a parameter
bthe b parameter
cthe c parameter
dthe d parameter
ethe e parameter
fthe f parameter
Since
QGIS 3.10

Definition at line 69 of file qgsmapsettingsutils.cpp.


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