QGIS API Documentation  2.11.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
qgscomposerscalebar.cpp File Reference
#include "qgscomposerscalebar.h"
#include "qgscomposermap.h"
#include "qgscomposition.h"
#include "qgscomposerutils.h"
#include "qgsdistancearea.h"
#include "qgsscalebarstyle.h"
#include "qgsdoubleboxscalebarstyle.h"
#include "qgsmaprenderer.h"
#include "qgsnumericscalebarstyle.h"
#include "qgssingleboxscalebarstyle.h"
#include "qgsticksscalebarstyle.h"
#include "qgsrectangle.h"
#include "qgsproject.h"
#include "qgssymbollayerv2utils.h"
#include "qgsfontutils.h"
#include <QDomDocument>
#include <QDomElement>
#include <QFontMetricsF>
#include <QPainter>
#include <QSettings>
#include <cmath>
Include dependency graph for qgscomposerscalebar.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 228 of file qgscomposerscalebar.cpp.

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

Definition at line 235 of file qgscomposerscalebar.cpp.