def bounds.expand

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

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

4005def bounds.expand(b: Bounds, +margin: F32) -> Bounds:
4006  Bounds{x0, y0, x1, y1} = b
4007  Bounds{(x0 - margin : F32), (y0 - margin : F32), (x1 + margin : F32), (y1 + margin : F32)}

Uses (4)

Used by (3)