Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>intersectrect</b> create intersection of two rectangles http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
IntersectRect        Create Intersection of Two Rectangles

int IntersectRect(lpDestRect, lpSrc1Rect, lpSCr2Rect)
LPRECT lpDestRect; /* Where to place resulting rectangle */
LPRECT lpSrc1Rect; /* Source rectangle 1 */
LPRECT lpSCr2Rect; /* Source rectangle 2 */

Returns:    Non-zero if intersection is not empty, otherwise zero.

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