Svg.cover.area: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 4131-4137 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=4131&end_line=4137 import Base def cover.area(pts: List<&2, Point>, +first: Point, +acc: F32) -> F32: match pts: case Nil{}: acc case Con{p, Nil{}}: (acc + point.cross(p, first) : F32) case Con{p, Con{q, rest}}: +qq = q cover.area(Con{qq, rest}, first, (acc + point.cross(p, qq) : F32)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=Point https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=point.cross