Chapter 8: Graphics Functions

Once you have established a connection to a display, you can use the Xlib graphics functions to:

If the same drawable and GC is used for each call, Xlib batches back-to-back calls to XDrawPoint(), XDrawLine(), XDrawRectangle(), XFillArc(), and XFillRectangle(). Note that this reduces the total number of requests sent to the server.

Next: Clearing Areas

Christophe Tronche,