title: Algorithm to Fill In a Closed 2D Curve
body: <p>I need to find a way of drawing the inside of a closed 2D curve. This curve is actually created using a bicubic Bezier curve, but that's not important I believe.</p>
  
  <p>At the moment there should be no "holes" within the drawn shape. So it will just be totally filled in. It seems like constrained Delaunay triangulation would be the way to go? But there seems to be different ways of doing this. I am looking for a quick and simple solution (but will implement what's needed to make it working).</p>
  
  <p>Programs such as Illustrator have that sort of feature (or SVG -- with the option fill).</p>
  
  <p>I am looking for:</p>
  
  <ul>
  <li>techniques to do that</li>
  <li>point me to a paper/document where the algorithm is explained</li>
  <li>is the source code of a SVG renderer available somewhere?</li>
  </ul>
  
  <h1>EDIT:</h1>
  
  <ul>
  <li>The application uses OpenGL. I draw the curves myself. Just need to find a way of filling them in.</li>
  <li>the shape can either be concave or convex</li>
  </ul>