fn get_viewport_rect( ctx: &DrawingContext<'_>, max_timestamp: &BigInt, viewport_all: &Viewport, viewport: &Viewport, time_offset: &BigInt, ) -> Rect