18#ifndef QGSLAYOUTMEASUREMENTCONVERTER_H
19#define QGSLAYOUTMEASUREMENTCONVERTER_H
54 void setDpi(
const double dpi ) { mDpi = dpi; }
61 double dpi()
const {
return mDpi; }
LayoutUnit
Layout measurement units.
This class 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
Constructor for QgsLayoutMeasurementConverter.
This class provides a method of storing measurements for use in QGIS layouts using a variety of diffe...
This class provides a method of storing points, consisting of an x and y coordinate,...
This class provides a method of storing sizes, consisting of a width and height, for use in QGIS layo...