github/Archimedes — pull request #14 by zakdances (2013-05-29 01:05:43+00:00)
Title: New functions for CGRect aspect resize/center

Adding `CGRectScaleAspectFit` and `CGRectScaleAspectFill` functions. Feel free to improve on my math.