![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QFakeDevice () | |
void | setDpiX (int dpi) |
void | setDpiY (int dpi) |
QPaintEngine * | paintEngine () const override |
int | metric (PaintDeviceMetric m) const override |
![]() | |
virtual | ~QPaintDevice () |
virtual int | devType () const |
bool | paintingActive () const |
virtual QPaintEngine * | paintEngine () const =0 |
int | width () const |
int | height () const |
int | widthMM () const |
int | heightMM () const |
int | logicalDpiX () const |
int | logicalDpiY () const |
int | physicalDpiX () const |
int | physicalDpiY () const |
qreal | devicePixelRatio () const |
qreal | devicePixelRatioF () const |
int | colorCount () const |
int | depth () const |
Additional Inherited Members | |
![]() | |
enum | PaintDeviceMetric { PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM , PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY , PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled } |
![]() | |
static qreal | devicePixelRatioFScale () |
![]() | |
QPaintDevice () noexcept | |
virtual int | metric (PaintDeviceMetric metric) const |
virtual void | initPainter (QPainter *painter) const |
virtual QPaintDevice * | redirected (QPoint *offset) const |
virtual QPainter * | sharedPainter () const |
![]() | |
ushort | painters |
Definition at line 368 of file qpicture.cpp.
|
inline |
Definition at line 371 of file qpicture.cpp.
References qt_defaultDpiX(), and qt_defaultDpiY().
|
inlineoverridevirtual |
Reimplemented from QPaintDevice.
Definition at line 375 of file qpicture.cpp.
References QPaintDevice::metric(), QPaintDevice::PdmDpiX, QPaintDevice::PdmDpiY, QPaintDevice::PdmPhysicalDpiX, and QPaintDevice::PdmPhysicalDpiY.
|
inlineoverridevirtual |
Implements QPaintDevice.
Definition at line 374 of file qpicture.cpp.
|
inline |
Definition at line 372 of file qpicture.cpp.
|
inline |
Definition at line 373 of file qpicture.cpp.