QtBase  v6.3.1
Public Member Functions | Protected Member Functions | List of all members
QWindowsDirect2DPaintDevice Class Reference

#include <qwindowsdirect2dpaintdevice.h>

Inheritance diagram for QWindowsDirect2DPaintDevice:
Inheritance graph
[legend]
Collaboration diagram for QWindowsDirect2DPaintDevice:
Collaboration graph
[legend]

Public Member Functions

 QWindowsDirect2DPaintDevice (QWindowsDirect2DBitmap *bitmap, QInternal::PaintDeviceFlags flags, QWindowsDirect2DPaintEngine::Flags paintFlags=QWindowsDirect2DPaintEngine::NoFlag)
 
 ~QWindowsDirect2DPaintDevice ()
 
QPaintEnginepaintEngine () const override
 
int devType () const override
 
- Public Member Functions inherited from QPaintDevice
virtual ~QPaintDevice ()
 
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
 

Protected Member Functions

int metric (PaintDeviceMetric metric) const override
 
- Protected Member Functions inherited from QPaintDevice
 QPaintDevice () noexcept
 
virtual void initPainter (QPainter *painter) const
 
virtual QPaintDeviceredirected (QPoint *offset) const
 
virtual QPaintersharedPainter () 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
 

Detailed Description

Definition at line 52 of file qwindowsdirect2dpaintdevice.h.

Constructor & Destructor Documentation

◆ QWindowsDirect2DPaintDevice()

QWindowsDirect2DPaintDevice::QWindowsDirect2DPaintDevice ( QWindowsDirect2DBitmap bitmap,
QInternal::PaintDeviceFlags  flags,
QWindowsDirect2DPaintEngine::Flags  paintFlags = QWindowsDirect2DPaintEngine::NoFlag 
)

Definition at line 66 of file qwindowsdirect2dpaintdevice.cpp.

◆ ~QWindowsDirect2DPaintDevice()

QWindowsDirect2DPaintDevice::~QWindowsDirect2DPaintDevice ( )

Definition at line 72 of file qwindowsdirect2dpaintdevice.cpp.

Member Function Documentation

◆ devType()

int QWindowsDirect2DPaintDevice::devType ( ) const
overridevirtual

Reimplemented from QPaintDevice.

Definition at line 83 of file qwindowsdirect2dpaintdevice.cpp.

◆ metric()

int QWindowsDirect2DPaintDevice::metric ( QPaintDevice::PaintDeviceMetric  metric) const
overrideprotectedvirtual

Reimplemented from QPaintDevice.

Definition at line 90 of file qwindowsdirect2dpaintdevice.cpp.

Here is the call graph for this function:

◆ paintEngine()

QPaintEngine * QWindowsDirect2DPaintDevice::paintEngine ( ) const
overridevirtual

Implements QPaintDevice.

Definition at line 76 of file qwindowsdirect2dpaintdevice.cpp.


The documentation for this class was generated from the following files: