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

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


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():
  InflateRect(Rect, 1, 1);
  InflateRect(Rect, -2, -2);

You can enlarge/shrink the X and Y co-ordinates of a TRect using this function.


There's no place like

More information about the fpc-devel mailing list