help with arcs??

need a little help … my mouse based drwaing application, using openGL draws drawings that are combinations of lines and arcs/curves…an arc begins from an endpoint of a line and another line starts where tha arc ends. Now for simple cases i am using circle equations and GL_LINE STRIP…but for more elliptical curves there is a problem…how to use openGL to draw arcs that start exactly from the starting point ???


This is not really an OpenGL issue. You need to generate vertices based on a mathematical function. OpenGL has evaluators but really you should look at bezier curves or similar and simply use them to generate vertices in software which you use when drawing OpenGL primitives.