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

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Jul 25 11:59:56 CEST 2006


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



More information about the fpc-devel mailing list