def bounds

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

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

570def bounds(edges: List<&2, Edge>, box: Bounds) -> Bounds:
571  match edges:
572    case Nil{}: box
573    case Con{Edge{ax, ay, bx, by, stroked, closed}, t}: bounds(t, bounds.at(bounds.at(box, ax, ay), bx, by))

Uses (4)

Used by (3)