Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowsDirect2DPaintDevice Class Reference

#include <qwindowsdirect2dpaintdevice.h>

Inheritance diagram for QWindowsDirect2DPaintDevice:
Collaboration diagram for QWindowsDirect2DPaintDevice:

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
double getDecodedMetricF (PaintDeviceMetric metricA, PaintDeviceMetric metricB) const

Additional Inherited Members

Public Types inherited from QPaintDevice
enum  PaintDeviceMetric {
  PdmWidth = 1 , PdmHeight , PdmWidthMM , PdmHeightMM ,
  PdmNumColors , PdmDepth , PdmDpiX , PdmDpiY ,
  PdmPhysicalDpiX , PdmPhysicalDpiY , PdmDevicePixelRatio , PdmDevicePixelRatioScaled ,
  PdmDevicePixelRatioF_EncodedA , PdmDevicePixelRatioF_EncodedB
}
Static Public Member Functions inherited from QPaintDevice
static qreal devicePixelRatioFScale ()
static int encodeMetricF (PaintDeviceMetric metric, double value)
Protected Attributes inherited from QPaintDevice
ushort painters

Detailed Description

Definition at line 16 of file qwindowsdirect2dpaintdevice.h.

Constructor & Destructor Documentation

◆ QWindowsDirect2DPaintDevice()

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

Definition at line 30 of file qwindowsdirect2dpaintdevice.cpp.

◆ ~QWindowsDirect2DPaintDevice()

QWindowsDirect2DPaintDevice::~QWindowsDirect2DPaintDevice ( )

Definition at line 36 of file qwindowsdirect2dpaintdevice.cpp.

Member Function Documentation

◆ devType()

int QWindowsDirect2DPaintDevice::devType ( ) const
overridevirtual

Reimplemented from QPaintDevice.

Definition at line 47 of file qwindowsdirect2dpaintdevice.cpp.

◆ metric()

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

Reimplemented from QPaintDevice.

Definition at line 54 of file qwindowsdirect2dpaintdevice.cpp.

◆ paintEngine()

QPaintEngine * QWindowsDirect2DPaintDevice::paintEngine ( ) const
overridevirtual

Implements QPaintDevice.

Definition at line 40 of file qwindowsdirect2dpaintdevice.cpp.


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