center Crop Rect
The centered crop rectangle that trims a sourceWidth x sourceHeight image to targetAspect (width / height). Pure, so the platform crop codecs share one definition and it can be unit-tested.
The centered crop rectangle that trims a sourceWidth x sourceHeight image to targetAspect (width / height). Pure, so the platform crop codecs share one definition and it can be unit-tested.