21 mPaintEngine = std::make_unique<QgsNullPaintEngine>();
26 return mPaintEngine.get();
33 case QPaintDevice::PdmWidth:
35 case QPaintDevice::PdmHeight:
36 return mSize.height();
37 case QPaintDevice::PdmWidthMM:
39 case QPaintDevice::PdmHeightMM:
40 return mSize.height();
41 case QPaintDevice::PdmNumColors:
42 return std::numeric_limits<int>::max();
43 case QPaintDevice::PdmDepth:
45 case QPaintDevice::PdmDpiX:
46 case QPaintDevice::PdmDpiY:
47 case QPaintDevice::PdmPhysicalDpiX:
48 case QPaintDevice::PdmPhysicalDpiY:
50 case QPaintDevice::PdmDevicePixelRatio:
52 case QPaintDevice::PdmDevicePixelRatioScaled: