Skip to main content

pins_bounds

Function pins_bounds 

Source
pub(crate) fn pins_bounds(
    data: &Drawing<'_>,
    pins: &[PinId],
    painter: &Style<'_, impl Renderer>,
) -> Option<Rect>
Expand description

The union of the drawn extent (stub + name/type/tag labels) of each pin. Needs the painter to measure label text.