def path.close
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
326def path.close(+p: Path) -> Path:
327 Path{cur, start, ctrl, old, prev, es, trace, tol} = p
328 Path{start, start, start, 0, 90, Con{edge.of(cur, start, True{}, True{}), es}, marker.segment(trace, marker.line(cur, start, 2)), tol}