QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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
LayoutUnit
Layout measurement units.
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 converting QgsLayoutMeasurements from one unit to another.
double dpi() const
Returns the Dots per inch (DPI) of the measurement converter.
This class provides a method of storing sizes, consisting of a width and height, for use in QGIS layo...
This class provides a method of storing points, consisting of an x and y coordinate,...
This class provides a method of storing measurements for use in QGIS layouts using a variety of diffe...