def raster.in.frame

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

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

4056def raster.in.frame(format: Raster, x: U32, y: U32) -> Bool:
4057  Raster{origin, step, width, height, depth, pixelsLinear, pixels} = format
4058  U32.is_lt(x, width) && U32.is_lt(y, height)

Uses (5)

Used by (3)