title: how to draw a filled sector of an ellipse with SDL 2 and C++
body: <p>I have a simple assignment.
  I just have to draw some graphics primitives.
  The issue is that the assignment was supposed to be done in Turbo C with graphics.h
  There is a function called <code>sector</code> which is capable of drawing a sector of an ellipse.
  I decided to write the assignment with SDL.
  I managed to draw all the graphic primitives except for the sector of an ellipse.
  I used <code>gfxPrimitives</code> library. But the library cannot do this.
  Neither SDL_Draw can.</p>
  
  <p>I need to draw something like this
  <a href="http://www.softwareandfinance.com/Turbo_C/Graphics/sector.html" rel="nofollow">http://www.softwareandfinance.com/Turbo_C/Graphics/sector.html</a>
  (The part on the screenshot called "sector 0-270 deg")</p>
  
  <p>Thanks</p>