The OpenD Programming Language

calculateSizeKeepingAspectRatio

Calculates a new size that fits inside the maximums while keeping the original aspect ratio.

@system
calculateSizeKeepingAspectRatio

Meta

History

Added March 18, 2021 (dub v9.4)