def paint.stroke.if

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

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

5578def paint.stroke.if(cond: Bool, fb: Array<U32>, mesh: StrokeMesh, +brush: Brush, +inv: Matrix, +linear: Bool, +clips: List<&2, Clip>, +tg: Target) -> Array<U32>:
5579  match cond:
5580    case True{}:
5581      StrokeMesh{tree, meshInverse, cover} = mesh
5582      paint.cover(fb, cover, tg, paint.context(brush, inv, linear, clips))
5583    case False{}: fb

Uses (11)

Used by (1)