Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- M E W E L - <b>rect pascal rectintersect(rect r1, rect r2)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RECT pascal RectIntersect(RECT r1, RECT r2)

  This function produces the intersection of two rectangles. The
intersection is the largest rectangle which is contained in both
rectangles. The resulting rectangle is returned.

Parameters
  r1 and r2 are passed rectangles.

Returns
  A rectangle whose coordinates represent the intersection. If there
is no intersection, an empty rectangle will be returned (which can
then be tested by RectIsEmpty()).

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson