Function lyon_algorithms::fit::fit_rectangle
source · pub fn fit_rectangle(
src_rect: &Rect,
dst_rect: &Rect,
style: FitStyle
) -> Transform
Expand description
Computes a transform that fits a rectangle into another one.