56 Q_D(
const QWindowsDirect2DPaintDevice);
59 case QPaintDevice::PdmWidth:
60 return int(d->bitmap->bitmap()->GetPixelSize().width);
61 case QPaintDevice::PdmHeight:
62 return int(d->bitmap->bitmap()->GetPixelSize().height);
63 case QPaintDevice::PdmNumColors:
65 case QPaintDevice::PdmDepth:
67 case QPaintDevice::PdmDpiX:
68 case QPaintDevice::PdmPhysicalDpiX:
71QT_WARNING_DISABLE_DEPRECATED
76 case QPaintDevice::PdmDpiY:
77 case QPaintDevice::PdmPhysicalDpiY:
84 case QPaintDevice::PdmDevicePixelRatio:
86 case QPaintDevice::PdmDevicePixelRatioScaled:
87 return int(devicePixelRatioFScale());
88 case QPaintDevice::PdmWidthMM:
89 case QPaintDevice::PdmHeightMM:
ID2D1Factory1 * d2dFactory() const
static QWindowsDirect2DContext * instance()