sharpdx / SharpDX

SharpDX GitHub Repository
http://sharpdx.org
MIT License
1.7k stars 638 forks source link

RectangleF Inflate issue #932

Closed nicke99 closed 7 years ago

nicke99 commented 7 years ago

It looks like Inflate does not update Right and Bottom correctly. Inflate sets X & Y before setting Width & Height. I think Width & Height should be set first so that Right & Bottom get updated using the new Width & Height values in the X and Y setters.

nicke99 commented 7 years ago

Sorry this is not a bug, I tracked the problem down to an issue in my code.