pub fn frame_layout( source_width: f64, source_height: f64, pane: Rect, bounds_width: f64, bounds_height: f64, ) -> Layout