mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
This map renderer job subclass is designed for step-by-step rendering of a map to different QPainters. It exposes an API which lets callers iterate over parts of a map (e.g. individual map layers, labels), specifying a destination QPainter for each step in the iteration. This is designed to improve the existing print layout export to layered output map rendering, where currently the maps are rendered by multiple renderer jobs, each only rendering one layer at a time. This current approach of rendering individual layers are separate jobs is fundamentally broken (and cannot be fixed), because it prevents any handling of interactions between map layers (e.g. shifting colliding labels).