pub fn text_anchors(
labels: &[(RouteLabelId, FracVal)],
geometry: &RouteGeometry,
) -> Vec<Pos2>Expand description
Where each label sits on the wire — the diamonds a selected route draws.
pub fn text_anchors(
labels: &[(RouteLabelId, FracVal)],
geometry: &RouteGeometry,
) -> Vec<Pos2>Where each label sits on the wire — the diamonds a selected route draws.