Paint
Recording what to draw for each box — text, colors, borders, shadows, images — often per layer. It produces draw commands, not pixels; rasterization turns those into pixels.
Changing a box-shadow re-records that box's draw commands without recomputing any positions.