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
73 QWindowsDirect2DContext::instance()->d2dFactory()->GetDesktopDpi(&x, &y);
76 case QPaintDevice::PdmDpiY:
77 case QPaintDevice::PdmPhysicalDpiY:
80 QWindowsDirect2DContext::instance()->d2dFactory()->GetDesktopDpi(&x, &y);
84 case QPaintDevice::PdmDevicePixelRatio:
86 case QPaintDevice::PdmDevicePixelRatioScaled:
87 return int(devicePixelRatioFScale());
88 case QPaintDevice::PdmWidthMM:
89 case QPaintDevice::PdmHeightMM: