title: HOWTO draw circles, arcs and vector graphics in SDL?
body: <p>(I'm using SDL2)</p>
  
  <p><a href="https://wiki.libsdl.org/FrontPage" rel="noreferrer">SDL is a relatively small library for "low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D"</a>  It's used for game development and, in my case, as simple audio visual output and mouse+keyboard input.  It's not a "toolkit" like GTK, Qt, wxWindows, etc.  But it is cross-platform.</p>
  
  <p><a href="https://wiki.libsdl.org/CategorySurface" rel="noreferrer">But the only way I can find to draw a shape is with the line, rect and pixel functions.</a></p>
  
  <p>Apart from using trig or the "equation of a circle", how could I draw a curve?  How about general vector graphics?</p>
  
  <p>Is SDL an appropriate starting point or should I look elsewhere?</p>