QGIS API Documentation 3.38.0-Grenoble (exported)
|
Null painter device that can be used for map renderer jobs which use custom painters. More...
#include <qgsnullpainterdevice.h>
Public Member Functions | |
QgsNullPaintDevice () | |
int | metric (PaintDeviceMetric metric) const override |
QPaintEngine * | paintEngine () const override |
void | setOutputDpi (const int dpi) |
Sets the dpi of the device. | |
void | setOutputSize (const QSize &size) |
Sets the size of the device in pixels. | |
Null painter device that can be used for map renderer jobs which use custom painters.
Definition at line 67 of file qgsnullpainterdevice.h.
QgsNullPaintDevice::QgsNullPaintDevice | ( | ) |
Definition at line 19 of file qgsnullpainterdevice.cpp.
|
override |
Definition at line 29 of file qgsnullpainterdevice.cpp.
|
override |
Definition at line 24 of file qgsnullpainterdevice.cpp.
|
inline |
Sets the dpi of the device.
Definition at line 86 of file qgsnullpainterdevice.h.
|
inline |
Sets the size of the device in pixels.
Definition at line 81 of file qgsnullpainterdevice.h.