Reference

XSetClipMask(3x) on Linux

The text 796f26eaddc1, as Debian 1.2 (Rex) shipped it.

GC convenience routines

XSetClipMask(3x) on Linux now