I have already submitted a patch (25 July) for InflateRect to the FPC
Developers. To be included in the types.pp unit. Not sure if anybody
has applied it yet.
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