def outline.run
gralha-svg-render@0.1.0.1 · svg.bend:1710
import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U
1710def outline.run(+xs: List<&2, Segment>, +s: F32, +e: F32, +r: F32, +js: Joins, +scale: F32, +acc: List<&2, Edge>) -> List<&2, Edge>:
1711 U.branch(List<&2, Edge>, F32.is_le((e - s : F32), 0.000001),
1712 _ => outline.dot(segments.at(xs, s, Point{0.0, 0.0}), segments.dir.at(xs, s, Point{1.0, 0.0}), r, js, scale, acc),
1713 _ => outline.open(dash.points(xs, s, e), r, js, scale, acc))