QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsNullPaintDevice Class Reference

Null painter device that can be used for map renderer jobs which use custom painters. More...

#include <qgsnullpainterdevice.h>

Inheritance diagram for QgsNullPaintDevice:

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.

Detailed Description

Null painter device that can be used for map renderer jobs which use custom painters.

Since
QGIS 3.24

Definition at line 67 of file qgsnullpainterdevice.h.

Constructor & Destructor Documentation

◆ QgsNullPaintDevice()

QgsNullPaintDevice::QgsNullPaintDevice ( )

Definition at line 18 of file qgsnullpainterdevice.cpp.

Member Function Documentation

◆ metric()

int QgsNullPaintDevice::metric ( PaintDeviceMetric metric) const
override

Definition at line 28 of file qgsnullpainterdevice.cpp.

◆ paintEngine()

QPaintEngine * QgsNullPaintDevice::paintEngine ( ) const
override

Definition at line 23 of file qgsnullpainterdevice.cpp.

◆ setOutputDpi()

void QgsNullPaintDevice::setOutputDpi ( const int dpi)
inline

Sets the dpi of the device.

Definition at line 86 of file qgsnullpainterdevice.h.

◆ setOutputSize()

void QgsNullPaintDevice::setOutputSize ( const QSize & size)
inline

Sets the size of the device in pixels.

Definition at line 81 of file qgsnullpainterdevice.h.


The documentation for this class was generated from the following files: