picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.55k stars 323 forks source link

Fix RectangleF.Contains(pointf) #2555

Closed cwensley closed 11 months ago

cwensley commented 11 months ago

new RectangleF(2f, 2f).Contains(1.5f, 1.5f) would return false as this is incorrectly using InnerRight/InnerBottom. Also changed Rectangle.Contains() to not use those as well though it doesn't change their behaviour..