def path.cubic
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
314def path.cubic(+p: Path, +a: Point, +b: Point, +q: Point, +cmd: U32) -> Path:
315 Path{cur, start, ctrl, old, prev, es, trace, tol} = p
316 +tt = tol
317 Path{q, start, b, cmd, upper(cmd), cubic(cur, a, b, q, es, tt), marker.segment(trace, marker.cubic(cur, a, b, q)), tt}