def paint.solid.row.mode
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
5489# A solid brush with a uniform clip limit paints runs straight: the front
5490# for full coverage is packed once per shape, a partial run packs its own,
5491# and an opaque front is written without a read.
5492def paint.solid.row.mode(opaque: Bool, fb: Array<U32>, +i: U32, +cols: Nat, +front: U32) -> Array<U32>:
5493 match opaque:
5494 case True{}: set.row(fb, cols, i, front)
5495 case False{}: fill.row(fb, cols, i, front)