def paint.frame
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
5791# The whole document at w by h device pixels, packed premultiplied RGBA.
5792def paint.frame(scene: List<&2, Scene<Brush>>, +w: U32, +h: U32, +aa: U32) -> Array<U32>:
5793 paint.scenes(layer.new(Target{0, 0, w, h}), cover.scenes(prepare.scenes(scene, identity(), aa), frame(w, h), cover.sub(aa), False{}), Target{0, 0, w, h}, False{}, Nil{})