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