def bounds.disk

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

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

1889def bounds.disk(p: Point, +r: F32) -> Bounds:
1890  Point{x, y} = p
1891  +px = x
1892  +py = y
1893  Bounds{(px - r : F32), (py - r : F32), (px + r : F32), (py + r : F32)}

Uses (5)

Used by (0)

No other definition uses this definition.