Skip to main content

draw_selection_bounds

Function draw_selection_bounds 

Source
fn draw_selection_bounds<C: Canvas>(
    data: &Drawing<'_>,
    shapes: &[ShapeId],
    offset: Vec2,
    painter: &mut Style<'_, C>,
)
Expand description

Draw one frame around the union of shapes (offset by offset for a move preview). No resize handles — those belong only to a single selection.