QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Macros | Functions
qgslayoututils.cpp File Reference
#include "qgslayoututils.h"
#include "qgslayout.h"
#include "qgsrendercontext.h"
#include "qgslayoutitemmap.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 27 of file qgslayoututils.cpp.

Function Documentation

◆ nextNiceNumber()

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

Definition at line 435 of file qgslayoututils.cpp.

◆ prevNiceNumber()

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

Definition at line 442 of file qgslayoututils.cpp.