When I wrote it I used the models that the coordinates were to pixels, 0,0 being the top left pixel - not absolute coordinates in an image, and a,b to a,b describes a 1x1 pixel image, from a,b to and inclusive a,b.
I would probably do it with a better coordinate system, today.
/ Mirar
Previous text:
2004-08-10 12:19: Subject: Image.Image
Eew, even more inconsistencies! If (0,0)-(0,0) is a zero-sized image, it's not intuitive that (20,20)-(20,20) produces a 1x1 image. Also, having one API function require corner point plus size and a second two corner points is another unfortunate inconsistency.
Ideally the Image classes should have defined coordinates to identify the grid in between pixels. I guess I'm spoiled by QuickDraw which uses a well-defined model in this regard.
Noone has protested against that, so far.
Well, consider it done. :-)
/ Jonas Walldén