Skip to main content

route_bounds

Function route_bounds 

Source
pub fn route_bounds(wire: &Wire<'_>, geometry: &RouteGeometry) -> Rect
Expand description

Bounded for a route: its painted footprint needs the solved geometry, which lives beside the document, so it can’t be a method on either half alone.