def mask.lined.pick

gralha-coverage@0.1.0.1 · cover.bend:1267

import gralha-coverage@0.1.0.1/cover.bend as Cover
import Base

1267def mask.lined.pick(few: Bool, xs: List<&2, CovLine>, box: CovBox, +even: Bool, +width: U32, +height: U32, +sub: U32, +trees: Bool) -> CovMask:
1268  match few:
1269    case True{}:
1270      +ls = xs
1271      +b = box
1272      mask.shape(rect.aligned(ls, b), ls, even, width, height, sub, b, trees)
1273    case False{}: mask.box(xs, even, width, height, sub, box, trees)

Uses (9)

Used by (1)