def subpaths.go
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
1260def subpaths.go(kind: U32, +ax: F32, +ay: F32, +bx: F32, +by: F32, rest: List<&2, Edge>, st: Sub) -> List<&2, Subpath>:
1261 match rest:
1262 case Nil{}: subpaths.finish(subpaths.add(kind, ax, ay, bx, by, st))
1263 case Con{Edge{x0, y0, x1, y1, s2, c2}, r2}: subpaths.go(edge.kind(s2, c2), x0, y0, x1, y1, r2, subpaths.add(kind, ax, ay, bx, by, st))