pub fn record(rect: Rect, hit: Hit)
Say what a region of the frame being drawn is. Later regions lie on top.