def paint.rows.go

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

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

5479def paint.rows.go(fb: Array<U32>, rows: List<&2, List<&2, Cov.Run>>, +gx: U32, +y: U32, +fixed: F32, +tx: U32, +ty: U32, +tw: U32, +th: U32, +ctx: PaintCtx) -> Array<U32>:
5480  match rows:
5481    case Nil{}: fb
5482    case Con{r, rest}:
5483      paint.rows.go(paint.row.if(U32.is_ge(y, ty) && U32.is_lt(y, (ty + th : U32)), fb, r, gx, y, fixed, Target{tx, ty, tw, th}, ctx), rest, gx, (y + 1 : U32), fixed, tx, ty, tw, th, ctx)

Uses (12)

Used by (1)