[−][src]Function lyon_algorithms::fit::fit_rectangle
pub fn fit_rectangle(
src_rect: &Rect,
dst_rect: &Rect,
style: FitStyle
) -> Transform
Computes a transform that fits a rectangle into another one.
pub fn fit_rectangle(
src_rect: &Rect,
dst_rect: &Rect,
style: FitStyle
) -> Transform
Computes a transform that fits a rectangle into another one.