On 6 April 2011 22:15, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Thanks andre Igor I'm sure that we can understand the implementation of area. I asked andre to post it because I was concerned that this difference of behavior is a bit odd. And I wanted to raise awareness and may be that we question ourselves. Now I do not have that much preconceived point of view on it.
Me neither. I found it odd that some pieces of code relying that origin <= corner (sorry i mistaken in previous mail) i meant that origin x <= corner x origin y <= corner y and yes, there is some code that assumes it is always like that. So, yes. While in pure geometry two different corner points could define a rectangle, no matter in what order you put them, in pharo/squeak geometry it sometimes matters :) But of course you can try and figure out what is works and what not, and fix it :)
Stef
-- Best regards, Igor Stasenko AKA sig.