re_view_graph::layout::provider

Function line_segment

Source
fn line_segment(source: Rect, target: Rect) -> PathGeometry
Expand description

Helper function to calculate the line segment between two rectangles.