def bounds.at

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

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

566def bounds.at(+b: Bounds, +x: F32, +y: F32) -> Bounds:
567  Bounds{x0, y0, x1, y1} = b
568  Bounds{U.min(x0, x), U.min(y0, y), U.max(x1, x), U.max(y1, y)}

Uses (4)

Used by (1)