QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Public Member Functions | List of all members
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:
Inheritance graph
[legend]

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...
 

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 19 of file qgsnullpainterdevice.cpp.

Member Function Documentation

◆ metric()

int QgsNullPaintDevice::metric ( PaintDeviceMetric  metric) const
override

Definition at line 29 of file qgsnullpainterdevice.cpp.

◆ paintEngine()

QPaintEngine * QgsNullPaintDevice::paintEngine ( ) const
override

Definition at line 24 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: