edmodo/cropper — pull request #56 by mediavrog (2014-06-13 03:28:51+00:00)
Title: solves #21 implemented support for scaletype fitCenter

The ImageViewUtil#getBitmapRectFitCenterHelper is based on nomatterhoe's proposed code in ticket #21.
I added some flexibility for supporting other scale types in the future and refactored related bits of code.

[please format the code along your code style]