def paint.fill.if

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

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

5571def paint.fill.if(cond: Bool, fb: Array<U32>, f: Fill, +brush: Brush, +inv: Matrix, +linear: Bool, +clips: List<&2, Clip>, +tg: Target) -> Array<U32>:
5572  match cond:
5573    case True{}:
5574      Fill{box, cover} = f
5575      paint.cover(fb, cover, tg, paint.context(brush, inv, linear, clips))
5576    case False{}: fb

Uses (11)

Used by (1)