def paint.block.known
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
5398# A block whose clips are uniform paints with that limit folded in: nothing
5399# when it is zero, the constant front when the brush is solid, the general row
5400# without clip reads otherwise; a block a clip edge crosses reads clips per pixel.
5401def paint.block.known(fb: Array<U32>, +x0: U32, +y0: U32, +rows: Nat, +cols: Nat, +v: F32, +known: F32, +t: Target, +ctx: PaintCtx) -> Array<U32>:
5402 paint.block.mode(F32.is_ge(known, 0.0) && paint.ctx.solid(ctx), fb, x0, y0, rows, cols, v, known, t, ctx)