Mattias Gaertner ha scritto:
On Wed, 06 Sep 2006 15:13:49 +0200
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.

InflateRect and OffsetRect are already in LCLIntf.


ehm,

I find inflaterect in \lazarus\lcl\include\winapi.inc

and OffsertRect in \lazarus\lcl\LCLproc.pas

but I would be happy if I could find them under FCL/RTL rather than the LCL.
:-)

tiziano

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to