Structs§
- Image
Size - Basic image dimensions.
Functions§
- cover_
size - Scales a size so it fully covers bounds, preserving aspect ratio.
- fit_
within - Scales a size to fit completely within bounds, preserving aspect ratio.
- scale_
to_ height - Scales a size to an exact height and rounded matching width.
- scale_
to_ width - Scales a size to an exact width and rounded matching height.