Skip to main content

render_selected

Function render_selected 

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

Draw the current level with one shape highlighted in RenderMode::Selected, in the canonical layer order. Shared by the selection tools (which layer their own overlays on top) so the selected-state render lives in one place.