chocolateloverraj / aspect-fit Goto Github PK
View Code? Open in Web Editor NEWScale up a rectangle to be as big as possible while keeping aspect ratio and fitting inside a container rectangle. Based on https://github.com/maxtherocket/aspect-fit.
Home Page: https://crates.io/crates/aspect-fit
License: MIT License