def bounds.transformed

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

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

2554def bounds.transformed(es: List<&2, Edge>, +m: Matrix, box: Bounds) -> Bounds:
2555  match es:
2556    case Nil{}: box
2557    case Con{Edge{ax, ay, bx, by, stroked, closed}, rest}:
2558      bounds.transformed(rest, m, bounds.point(bounds.point(box, matrix.point(m, Point{ax, ay})), matrix.point(m, Point{bx, by})))

Uses (7)

Used by (0)

No other definition uses this definition.