def comp.layer

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

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

5704# A finished layer (and its mask layer, both on the layer target), scaled by
5705# opacity and the mask, over the frame target across the layer's rectangle.
5706def comp.layer(fb: Array<U32>, layer: Array<U32>, mask: Array<U32>, +ft: Target, +lt: Target, +opacity: F32, +mode: U32) -> Array<U32>:
5707  Target{x, y, w, h} = lt
5708  comp.finish(comp.rows((fb, (layer, mask)), U32.to_nat(h), y, x, U32.to_nat(w), ft, lt, opacity, mode))

Uses (8)

Used by (1)