Skip to main content

render

Function render 

Source
pub fn render(data: &Drawing<'_>, painter: &mut Style<'_, impl Renderer>)
Expand description

Draw the current level’s shapes and routes in their normal (non-interactive) state, in the canonical layer order. Generic over the Renderer backend so it drives both the on-screen Painter and the SVG exporter. The layer order itself lives in DrawingPasses.