QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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. More... | |
void | setOutputSize (const QSize &size) |
Sets the size of the device in pixels. More... | |
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 99 of file qgsnullpainterdevice.h.
|
inline |
Sets the size of the device in pixels.
Definition at line 94 of file qgsnullpainterdevice.h.