On 29/04/15 15:18, Sean P. DeNigris 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
>
For these situations, I would use the method #floor or #rounded of the
class Point, or create the method #roundedCenter, as Natalia suggested.
Currently, the name of the class and the method communicate the wrong
behavior.
Tommaso
>
>
> -----
> 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.
>