window-corners

Name

window-corners -- Return the four coordinates of the corners of the location of WIN.

Synopsis

(window-corners win)

Description

Return the four coordinates of the corners of the location of WIN. Return value's car is the top left, cdr is the bottom right. That is, the returned list is: ((nw-x nw-y) se-x se-y). Use rect-nw-x, rect-nw-y, rect-se-x, rect-se-y to take apart the returned list.

Implementation Notes

Module: (app scwm rectangle)

Defined in scheme/rectangle.scm at line 12 (CVS log)