def cover.polygon

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

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

4156def cover.polygon(pts: List<&2, Point>, acc: List<&2, Edge>) -> List<&2, Edge>:
4157  match pts:
4158    case Nil{}: acc
4159    case Con{p, rest}:
4160      +pp = p
4161      cover.close(Con{pp, rest}, pp, acc)

Uses (4)

Used by (0)

No other definition uses this definition.