Reference

X11DRV_SetDeviceClipping(3w)

X11DRV_SetDeviceClipping

NAME

X11DRV_SetDeviceClipping - X11DRV_SetDeviceClipping

SYNOPSIS

void X11DRV_SetDeviceClipping(DC *dc);

DESCRIPTION

Copy RECT32s to a temporary buffer of XRectangles and call TSXSetClipRectangles().

Could write using GetRegionData but this would be slower.