Skip to main content

draw_foreground

Function draw_foreground 

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

Ring what the selection raises into the foreground: the shapes themselves, and every wire this gesture may re-solve. What is not ringed is the background — the geometry a mutation of this selection will route around rather than re-decide (docs/foreground-router-playbook.md).