def comp.start

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

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

5695# The pixel range of a device box within the frame: start and count per axis.
5696def comp.start(+lo: F32, +limit: U32) -> U32:
5697  F32.to_u32(U.clamp(F32.floor(lo), 0.0, U32.to_f32(limit)))

Uses (6)

Used by (1)