18 #ifndef QGSLAYOUTMEASUREMENTCONVERTER_H 19 #define QGSLAYOUTMEASUREMENTCONVERTER_H 21 #include "qgis_core.h" 54 void setDpi(
const double dpi ) { mDpi = dpi; }
61 double dpi()
const {
return mDpi; }
102 #endif // QGSLAYOUTMEASUREMENTCONVERTER_H
void setDpi(const double dpi)
Sets the dots per inch (dpi) for the measurement converter.
This class provides a method of storing points, consisting of an x and y coordinate, for use in QGIS layouts.
This class provides a method of storing measurements for use in QGIS layouts using a variety of diffe...
double dpi() const
Returns the Dots per inch (DPI) of the measurement converter.
This class provides a method of converting QgsLayoutMeasurements from one unit to another...
LayoutUnit
Layout measurement units.
This class provides a method of storing sizes, consisting of a width and height, for use in QGIS layo...