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