pub fn fit_whole_scale(size: ImageInfo, frame: PxRect) -> Option<PxRect>Expand description
Where an image of size is drawn in frame (console pixels): at the
largest whole scale that fits, centred (an odd pixel left over goes to
the right or the bottom). None if it doesn’t fit even at 1×, or has no
pixels.