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 rectunion(rect r1, rect r2)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RECT pascal RectUnion(RECT r1, RECT r2)

  This function produces the union of two rectangles. The union is the
smallest rectangle which is contains both source rectangles. The
resulting rectangle is returned.

Parameters
  r1 and r2 are passed rectangles.

Returns
  A rectangle whose coordinates represent the union. If there is no
union, 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