Skip to main content

refine_callout

Function refine_callout 

Source
pub fn refine_callout(
    bonds: &[(f64, f64, f64, f64)],
    label_rest: Aabb,
    tip_xy: (f64, f64),
    target: (f64, f64),
    tip_standoff: f64,
    preferred: Side,
    clash_dist: f64,
    routes: &[(f64, f64)],
) -> ((f64, f64), (f64, f64), Vec<(f64, f64)>)
Expand description

Refine callout label + tip; returns (label_dxy, tip_dxy, route_xy_world).