def paint.row

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

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

5327def paint.row(fb: Array<U32>, n: Nat, +x: U32, +y: U32, +v: F32, +known: F32, +t: Target, +ctx: PaintCtx) -> Array<U32>:
5328  match n:
5329    case 0n: fb
5330    case 1n+d: paint.row(paint.pixel(fb, x, y, v, known, t, ctx), d, (x + 1 : U32), y, v, known, t, ctx)
5331
5332@unsafe

Uses (8)

Used by (1)