pub(crate) fn resize_output_on( state: &mut AppState, id: u32, width: i32, height: i32, scale: f64, ) -> bool