def paint.packed

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

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

5808# The document as packed 0xRRGGBB pixels over white, row-major, w * h entries.
5809def paint.packed(scene: List<&2, Scene<Brush>>, +w: U32, +h: U32, +aa: U32) -> Array<U32>:
5810  pack.loop(paint.frame(scene, w, h, aa), U32.to_nat((w * h : U32)), 0)

Uses (9)

Used by (2)