Chapter 8: Graphics Functions Once you have established a connection to a display, you can use the Xlib graphics functions to: Clear and copy areas Draw points, lines, rectangles, and arcs Fill areas Manipulate fonts Draw text Transfer images between clients and the server 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, ch.tronche@computer.org