Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
QFakeDevice () | |
void | setDpiX (int dpi) |
void | setDpiY (int dpi) |
QPaintEngine * | paintEngine () const override |
int | metric (PaintDeviceMetric m) const override |
Public Member Functions inherited from QPaintDevice | |
virtual | ~QPaintDevice () |
virtual int | devType () const |
bool | paintingActive () const |
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 | |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric { PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM , PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY , PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled } |
Static Public Member Functions inherited from QPaintDevice | |
static qreal | devicePixelRatioFScale () |
Protected Member Functions inherited from QPaintDevice | |
QPaintDevice () noexcept | |
virtual void | initPainter (QPainter *painter) const |
virtual QPaintDevice * | redirected (QPoint *offset) const |
virtual QPainter * | sharedPainter () const |
Protected Attributes inherited from QPaintDevice | |
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.