def paint.block.if

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

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

5434def paint.block.if(cond: Bool, fb: Array<U32>, +x0: U32, +y0: U32, +size: U32, +v: F32, +t: Target, +ctx: PaintCtx) -> Array<U32>:
5435  match cond:
5436    case True{}: paint.block(fb, x0, y0, size, v, t, ctx)
5437    case False{}: fb
5438
5439@unsafe

Uses (7)

Used by (1)