Skip to main content

crop_dest

Function crop_dest 

Source
pub fn crop_dest(bounds: Rect, crop: [f64; 4]) -> Rect
Expand description

The rectangle a picture’s image occupies given its crop (fractions; negative = padding).