mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
In compositions, a flag must be explicitly set to indicate whether the render occuring is for "previews" (i.e. rendering in a graphics view) or outputs (i.e. rendering to a image/pdf/other destination device) This isn't nice api. So we avoid this by checking the paint device type when an item is being rendered.