pub fn scale_dimensions( width: u32, height: u32, scale: f64, ) -> Result<(u32, u32), ResolutionError>