intersection-area

Name

intersection-area -- Returns the size of the intersection of two rectangles.

Synopsis

(intersection-area x1 y1 w1 h1 x2 y2 w2 h2)

Description

Returns the size of the intersection of two rectangles. X1,Y1 and W1 x H1 are the position and size of the first rectangle. X2,Y2 and W2 x H2 are the position and size of the second rectangle.

Implementation Notes

Module: (app scwm wininfo)

Defined in scheme/wininfo.scm at line 52 (CVS log)