title: Enable antialiasing using Xlib
body: <p>I'm trying to develop a custom set of libraries for creating GUIs in Linux, with, you know, widgets, buttons, etc. So I'm now learning to creating user interfaces using <em>X11</em> and its <em>Xlib</em>. I get to the point of having a nice window of a size specified, at a position specified, of a specified background color, and the possibility of drawing points, rectangles, arcs. However as I drew my first circle I got really disappointed by the fact that the circle is <strong>not antialiased</strong>. I can see every single pixel as a square.</p>
  
  <p>Now the question is easy. Is there any way to tell X: <em>please antialias anything before drawing</em>? Or do I have to avoid using XDrawArc and use a custom function which calls XDrawPoint for each point of the circle? Or there is a third solution?</p>
  
  <p>Thanks in advance.</p>