[fpc-devel] Slight calculation error in Bounds() procedure in Classes unit.

Hans-Peter Diettrich DrDiettrich1 at aol.com
Wed Jun 9 23:21:59 CEST 2010


Graeme Geldenhuys schrieb:

>> Bounds is used a lot in Delphi and LCL applications.
>>
> 
> So for "delphi compatibility" we now need to duplicate Delphi bugs in FPC
> too? FPC <> DELPHI.

It's not a bug, it's a commonly accepted graphics model.

The only thing I'm missing is a distinction between rectangles in 
origin-extent and in two-point (TL, BR) representation. IMO two distinct 
types should be available for these, with according conversion procedures.

DoDi




More information about the fpc-devel mailing list