I just had a look at the latest types.pp file in FPC 2.1.1. InflateRect has not been applied yet, but OffsetRect already exits.
Regards, - Graeme - On 9/6/06, Giuliano Colla <[EMAIL PROTECTED]> wrote:
The attached patch adds a couple of useful procedure to the graphics library, i.e. InflateRect and OffsetRect. They are derived from the Delphi counterparts, and are useful to increase or decrease the size of a rectangle, or to move it. This happens frequently when drawing in the client area of a component, and one has to take into account border width, or simulate the button up/down, etc. Regards, Giuliano Colla
-- There's no place like 127.0.0.1 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives