It appears that lazarus and fpc are full of InflateRect and OffsetRect,
which may mean:
a) that I may add one more :-)
b) that I was too dumb to find them :-(
Regards
Giuliano
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.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
|
- Re: [lazarus] Utilities in Graphic.pp Giuliano Colla
-