Oops! See, I'm confusing myself again. :) So mathematically it's incorrect then. Coordinates (0,0) to (1, 1) only draws a 1x1 pixel rectangle. Even thought (0, 0) and (1, 1) is not the same position in a grid. Basically 1 less in width and height compared to the bottom right coordinate.
Why isn't TCanvas.Rectangle then defined as Rectangle(x, y, width, height) which would then clearly explain the current behavior? Currently it's odd. Regards, - Graeme - On 06/08/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys schreef: > > On 06/08/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > >> AFAIK, Lazarus draws a 1x1 rectangle too. > > > > Oh... Reading the 8342 and 9389 bug reports I was under the > > impression that it followed the Microsoft method. That will teach me > > to test things myself the next time. :) > > The microsoft method is a 1x1 rectangle. > > Vincent. > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
