def pixel.round

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

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

5158def pixel.round(+v: U32, +f: F32) -> U32:
5159  F32.to_u32(F32.floor((U32.to_f32(v) * f + 0.5 : F32)))

Uses (7)

Used by (1)