18#ifndef QGSLAYOUTMEASUREMENTCONVERTER_H
19#define QGSLAYOUTMEASUREMENTCONVERTER_H
52 void setDpi(
const double dpi ) { mDpi = dpi; }
59 double dpi()
const {
return mDpi; }
LayoutUnit
Layout measurement units.
Provides a method of converting QgsLayoutMeasurements from one unit to another.
double dpi() const
Returns the Dots per inch (DPI) of the measurement converter.
void setDpi(const double dpi)
Sets the dots per inch (dpi) for the measurement converter.
QgsLayoutMeasurementConverter()=default
Provides a method of storing measurements for use in QGIS layouts using a variety of different measur...
Provides a method of storing points, consisting of an x and y coordinate, for use in QGIS layouts.
Provides a method of storing sizes, consisting of a width and height, for use in QGIS layouts.