mono/MonoGame — pull request #817 by liortal53 (2012-09-27 23:47:49+00:00)
Title: Develop3d

Hi,

Please review this change to resolve issue #563.

Basically, DestinationRectangle can be larger than the source rectangle.

This can lead to cases such as described in that issue, where the origin is not being calculated right.

Previously, origin was used as a dx, dy, however this needs to be scaled according to the difference in sizes of the dest/src rectangle.

Please review this as it touches a pretty "popular" class (SpriteBatch).