[][src]Function lyon_algorithms::fit::fit_rectangle

pub fn fit_rectangle(
    src_rect: &Rect,
    dst_rect: &Rect,
    style: FitStyle
) -> Transform2D

Computes a transform that fits a rectangle into another one.