Calculates the intersection of two SRects.
SRect * SRectIntersection (SRect *dst, SRect *rect1, SRect *rect2)
Calculates the intersection of two rectangles, returning a rectangle that describes the common area. The dst rectangle can be the same as either source rectangle. If there is no common area between the two source rectangles, the function return value is NULL, but the values in *dst are still modified.
The input parameter dst, or NULL if there is no common area between the source rectangles.
Library call implemented in lib3do.lib.
lib3do.lib, celutils.h