I don't think this is a bug. It's usual that Right/Bottom denotes one pixel off intended rectangle. Think in terms of floating point: 1 = 1.0 means left side of the pixel. And 1.5 would mean center of pixel. So in THAT case, difference between left-most and right-most pixels are 2.5-1.5=1.0. On the other hand, width of rectangle is still 2.0 -> one between 1.0 and 2.0, and the other between 2.0 and 3.0.
Huh, too much text for such simple math :-) On Wed, Jun 9, 2010 at 09:26, Graeme Geldenhuys <[email protected]> wrote: > > In the bug report is a patch. > > > http://bugs.freepascal.org/view.php?id=16682 > > > > Regards, > - Graeme - > > -- > fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal > http://opensoft.homeip.net/fpgui/ > > _______________________________________________ > fpc-devel maillist - [email protected] > http://lists.freepascal.org/mailman/listinfo/fpc-devel > -- Aleksa Todorovic - Lead Programmer Eipix Entertainment www eipix com _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
