|  | Qt 6.x
    The Qt SDK | 
#include <qwindowsdirect2dpaintdevice.h>
 Inheritance diagram for QWindowsDirect2DPaintDevice:
 Inheritance diagram for QWindowsDirect2DPaintDevice: Collaboration diagram for QWindowsDirect2DPaintDevice:
 Collaboration diagram for QWindowsDirect2DPaintDevice:| Public Member Functions | |
| QWindowsDirect2DPaintDevice (QWindowsDirect2DBitmap *bitmap, QInternal::PaintDeviceFlags flags, QWindowsDirect2DPaintEngine::Flags paintFlags=QWindowsDirect2DPaintEngine::NoFlag) | |
| ~QWindowsDirect2DPaintDevice () | |
| QPaintEngine * | paintEngine () const override | 
| int | devType () const override | 
|  Public Member Functions inherited from QPaintDevice | |
| 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 | 
| Protected Member Functions | |
| int | metric (PaintDeviceMetric metric) const override | 
|  Protected Member Functions inherited from QPaintDevice | |
| QPaintDevice () noexcept | |
| virtual int | metric (PaintDeviceMetric metric) const | 
| virtual void | initPainter (QPainter *painter) const | 
| virtual QPaintDevice * | redirected (QPoint *offset) const | 
| virtual QPainter * | sharedPainter () 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 Attributes inherited from QPaintDevice | |
| ushort | painters | 
Definition at line 16 of file qwindowsdirect2dpaintdevice.h.
| QWindowsDirect2DPaintDevice::QWindowsDirect2DPaintDevice | ( | QWindowsDirect2DBitmap * | bitmap, | 
| QInternal::PaintDeviceFlags | flags, | ||
| QWindowsDirect2DPaintEngine::Flags | paintFlags = QWindowsDirect2DPaintEngine::NoFlag | ||
| ) | 
Definition at line 30 of file qwindowsdirect2dpaintdevice.cpp.
| QWindowsDirect2DPaintDevice::~QWindowsDirect2DPaintDevice | ( | ) | 
Definition at line 36 of file qwindowsdirect2dpaintdevice.cpp.
| 
 | overridevirtual | 
Reimplemented from QPaintDevice.
Definition at line 47 of file qwindowsdirect2dpaintdevice.cpp.
References d.
| 
 | overrideprotectedvirtual | 
Reimplemented from QPaintDevice.
Definition at line 54 of file qwindowsdirect2dpaintdevice.cpp.
References d, QWindowsDirect2DContext::d2dFactory(), QPaintDevice::devicePixelRatioFScale(), QWindowsDirect2DContext::instance(), metric(), QPaintDevice::PdmDepth, QPaintDevice::PdmDevicePixelRatio, QPaintDevice::PdmDevicePixelRatioScaled, QPaintDevice::PdmDpiX, QPaintDevice::PdmDpiY, QPaintDevice::PdmHeight, QPaintDevice::PdmHeightMM, QPaintDevice::PdmNumColors, QPaintDevice::PdmPhysicalDpiX, QPaintDevice::PdmPhysicalDpiY, QPaintDevice::PdmWidth, QPaintDevice::PdmWidthMM, qRound(), QT_WARNING_DISABLE_DEPRECATED, QT_WARNING_POP, and QT_WARNING_PUSH.
Referenced by metric().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | overridevirtual | 
Implements QPaintDevice.
Definition at line 40 of file qwindowsdirect2dpaintdevice.cpp.
References d.