[fpc-devel] InflateRect() not cross-platform

Jesús Reyes A. jesusrmx at yahoo.com.mx
Tue Jul 25 17:08:10 CEST 2006


----- Original Message ----- 
From: "Graeme Geldenhuys" <graemeg.lists at gmail.com>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Tuesday, July 25, 2006 4:59 AM
Subject: [fpc-devel] InflateRect() not cross-platform


> Hi,
>
> Any reason why there isn't a cross-platfrom InflateRect() function in
> the RTL?  It only appears in the Windows API translations and is a
> very handly funtion to have.
>
> For those that don't know InflateRect():
> Usage:
>  InflateRect(Rect, 1, 1);
>  InflateRect(Rect, -2, -2);
>
> You can enlarge/shrink the X and Y co-ordinates of a TRect using this 
> function.
>
> Regards,
>  Graeme.
>
>
> -- 
> There's no place like 127.0.0.1

If you are using Lazarus, Just include LCLIntf unit.

Jesus Reyes A. 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 



More information about the fpc-devel mailing list