QGIS/python/PyQt6/core/auto_generated/qgsnullpainterdevice.sip.in
Julien Cabieces bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00

54 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsnullpainterdevice.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsNullPaintDevice: QPaintDevice
{
%Docstring(signature="appended")
Null painter device that can be used for map renderer jobs which use custom painters.
.. versionadded:: 3.24
%End
%TypeHeaderCode
#include "qgsnullpainterdevice.h"
%End
public:
QgsNullPaintDevice();
virtual QPaintEngine *paintEngine() const;
virtual int metric( PaintDeviceMetric metric ) const;
void setOutputSize( const QSize &size );
%Docstring
Sets the ``size`` of the device in pixels.
%End
void setOutputDpi( const int dpi );
%Docstring
Sets the ``dpi`` of the device.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgsnullpainterdevice.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/