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>int pascal recttile(rect a, rect b, rect r[])</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal RectTile(RECT a, RECT b, RECT r[])

  This function takes two rectangles, a and b,  and returns five
rectangles which represents the tiling of a and b. The tiling
operation is illustrated below :

        +-----------------------+     +-----------------------+
        |a                      |     |r0    |r1    |r4       |
        |      +------+         |     |      |------|         |
        |      |b     |         |  -->|      |r2    |         |
        |      +------+         |     |      |------|         |
        |                       |     |      |r3    |         |
        +-----------------------+     +-----------------------+

  This function is useful if you want to generate update rectangles for
a redrawing operation.

Parameters
  a and b are two RECT structures.
  r must be defined in the calling routine as RECT r[5]. This will
   contain the five rectangles which result from the tiling operation.

Returns
  Nothing.

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