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.
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).
Programs such as Illustrator have that sort of feature (or SVG -- with the option fill).
I am looking for:
- techniques to do that
- point me to a paper/document where the algorithm is explained
- is the source code of a SVG renderer available somewhere?
EDIT:
- The application uses OpenGL. I draw the curves myself. Just need to find a way of filling them in.
- the shape can either be concave or convex