def path.line

gralha-svg-render@0.1.0.1 · svg.bend:310

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base

310def path.line(+p: Path, +q: Point, +cmd: U32) -> Path:
311  Path{cur, start, ctrl, old, prev, es, trace, tol} = p
312  Path{q, start, q, cmd, upper(cmd), Con{edge.of(cur, q, True{}, False{}), es}, marker.segment(trace, marker.line(cur, q, 0)), tol}

Uses (9)

Used by (2)