Skip to main content

crop_from_array

Function crop_from_array 

Source
pub fn crop_from_array(a: [f32; 4]) -> CropRect
Expand description

Rebuild a [CropRect] from a [x, y, width, height] array.