Thanks ! One more question : How does Xlib handle the drawing of points, lines, rectangle ? Does it use any library like GD Graphics Library or it does it on its own ?