QGIS API Documentation 3.39.0-Master (be2050b798e)
Loading...
Searching...
No Matches
Macros | Functions
qgslayoututils.cpp File Reference
#include "qgslayoututils.h"
#include "qgslayout.h"
#include "qgssettingsregistrycore.h"
#include "qgslayoutitemmap.h"
#include "qgsprojectviewsettings.h"
#include "qgsrendercontext.h"
#include "qgssettings.h"
#include "qgslayoutrendercontext.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 32 of file qgslayoututils.cpp.

Function Documentation

◆ nextNiceNumber()

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

Definition at line 447 of file qgslayoututils.cpp.

◆ prevNiceNumber()

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

Definition at line 454 of file qgslayoututils.cpp.