pub fn batch_in(viewport: Rect, millis: u64, events: Vec<Event>) -> Vec<Event>
The same, from a canvas of another size.