QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
qgslayoutruler.cpp File Reference
#include "qgslayoutruler.h"
#include <cmath>
#include <memory>
#include "qgis.h"
#include "qgslayout.h"
#include "qgslayoutpagecollection.h"
#include "qgslayoutview.h"
#include "qgslogger.h"
#include <QDragEnterEvent>
#include <QGraphicsLineItem>
#include <QMenu>
#include <QPainter>
#include "moc_qgslayoutruler.cpp"
Include dependency graph for qgslayoutruler.cpp:

Go to the source code of this file.

Variables

const unsigned int COUNT_VALID_MAGNITUDES = 5
const unsigned int COUNT_VALID_MULTIPLES = 3
const int RULER_FONT_SIZE = 8

Variable Documentation

◆ COUNT_VALID_MAGNITUDES

const unsigned int COUNT_VALID_MAGNITUDES = 5

Definition at line 35 of file qgslayoutruler.cpp.

◆ COUNT_VALID_MULTIPLES

const unsigned int COUNT_VALID_MULTIPLES = 3

Definition at line 34 of file qgslayoutruler.cpp.

◆ RULER_FONT_SIZE

const int RULER_FONT_SIZE = 8

Definition at line 33 of file qgslayoutruler.cpp.