Function elmesque::element::fitted_image [−] [src]

pub fn fitted_image(w: i32, h: i32, path: PathBuf) -> Element

Create a fitted image given a width, height and texture. This will crop the picture to best fill the given dimensions.