On 29 Apr 2015, at 15:18, Sean P. DeNigris <sean@clipperadams.com> wrote:
Natalia Tymchuk wrote
Should it really be like that?
The problem is that you can't have half-a-pixel if a dimension is odd
Well, the methods is not called #centerPixel, nor is the class called PixelatedRectangle. Both #origin and #corner return not rounded values. And any way, I invite everyone to read the bug report by Tommaso, he described in a really nice way: https://pharo.fogbugz.com/f/cases/15445/Rectangle-center-not-really-a-center... <https://pharo.fogbugz.com/f/cases/15445/Rectangle-center-not-really-a-center...> Uko
----- Cheers, Sean -- View this message in context: http://forum.world.st/Rectangle-Center-tp4822883p4822891.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.