ScrRectOverlap Function (ROM Call 0x18A)

graph.h

short ScrRectOverlap (const SCR_RECT *r1, const SCR_RECT *r2, SCR_RECT *r);

Finds an intersection of two rectangular areas.

ScrRectOverlap finds an intersection of two rectangular areas given in two SCR_RECT structures r1 and r2, and stores coordinates of the intersection in r. ScrRectOverlap returns TRUE or FALSE depending on whether r1 and r2 overlap or not.


Uses: QScrRectOverlap
Used by: BitmapPut, ScrRectDivide, UpdateWindows, WinBitmapGet, WinBitmapSize, WinFill, WinRect, WinScrollH, WinScrollV