def cover.block.if

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

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

5234def cover.block.if(present: Bool, +cov: Cover, +x0: U32, +y0: U32, +x1: U32, +y1: U32) -> F32:
5235  match present:
5236    case True{}: cover.block(cov, x0, y0, x1, y1)
5237    case False{}: F32.neg(1.0)

Uses (6)

Used by (1)