QGIS API Documentation  3.20.0-Odense (decaadbb31)
Macros | Functions
qgslayoututils.cpp File Reference
#include "qgslayoututils.h"
#include "qgslayout.h"
#include "qgslayoutitemmap.h"
#include "qgsprojectviewsettings.h"
#include "qgsrendercontext.h"
#include "qgssettings.h"
#include <QStyleOptionGraphicsItem>
#include <QPainter>
#include <cmath>
Include dependency graph for qgslayoututils.cpp:

Go to the source code of this file.

Macros

#define M_DEG2RAD   0.0174532925
 

Functions

double nextNiceNumber (double a, double d=1)
 
double prevNiceNumber (double a, double d=1)
 

Macro Definition Documentation

◆ M_DEG2RAD

#define M_DEG2RAD   0.0174532925

Definition at line 30 of file qgslayoututils.cpp.

Function Documentation

◆ nextNiceNumber()

double nextNiceNumber ( double  a,
double  d = 1 
)
inline

Definition at line 444 of file qgslayoututils.cpp.

◆ prevNiceNumber()

double prevNiceNumber ( double  a,
double  d = 1 
)
inline

Definition at line 451 of file qgslayoututils.cpp.