| SetWinClip | Function (ROM Call 0x42E)

AMS 2.00 or higher | wingraph.h

void SetWinClip (WINDOW *w, SCR_RECT *s);

Changes the clipping area of a window.

SetWinClip changes the clipping area of the window pointed to by w, to the SCR_RECT pointed to by s, and changes the contents of s from window-based to screen-based coordinates.
The original coordinates in s must be window-based, i.e (0,0) is the upper left corner of the window.

Uses: ClientToScr