Raster
class Raster
A rectangular grid of Argb pixels, row-major from the top-left corner.
The one image type every pipeline stage reads and writes. Equality is by size and pixel content, so two stages that produce the same image produce equal rasters — the determinism tests rely on it. Mutable through set so brush fixes and per-pixel stages can fill a raster in place; take a copy before handing one raster to code that must not see later writes.