42 case QPaintDevice::PdmWidth:
43 return mDrawingSize.width();
44 case QPaintDevice::PdmHeight:
45 return mDrawingSize.height();
46 case QPaintDevice::PdmWidthMM:
47 return mDrawingSize.width();
48 case QPaintDevice::PdmHeightMM:
49 return mDrawingSize.height();
50 case QPaintDevice::PdmNumColors:
51 return std::numeric_limits<int>::max();
52 case QPaintDevice::PdmDepth:
54 case QPaintDevice::PdmDpiX:
55 case QPaintDevice::PdmDpiY:
56 case QPaintDevice::PdmPhysicalDpiX:
57 case QPaintDevice::PdmPhysicalDpiY:
59 case QPaintDevice::PdmDevicePixelRatio:
61 case QPaintDevice::PdmDevicePixelRatioScaled:
63#if (QT_VERSION >= QT_VERSION_CHECK(6, 8, 0))
64 case PdmDevicePixelRatioF_EncodedA:
66 case PdmDevicePixelRatioF_EncodedB: