pub fn record(bounds: Bounds<Pixels>, window: &mut Window, cx: &mut App)
Records bounds as covered. Call it from prepaint.
bounds