def paint.rows.mode

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

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

5534def paint.rows.mode(solid: Bool, fb: Array<U32>, rows: List<&2, List<&2, Cov.Run>>, +gx: U32, +gy: U32, +fixed: F32, +tg: Target, +ctx: PaintCtx) -> Array<U32>:
5535  match solid:
5536    case True{}:
5537      +tint = paint.ctx.tint(ctx)
5538      paint.solid.rows(fb, rows, gx, gy, tg, pixel.pack(tint, fixed), tint, fixed)
5539    case False{}: paint.rows.of(fb, rows, gx, gy, fixed, tg, ctx)

Uses (12)

Used by (1)