Hi. First post here. Hope I don't break protocol...
I am writing software to convert a display list file into a different display list file format (conceptually similar to HTML, for those who care). The display list files use differing ways to describe arcs, and I need to transform from one to the other. Both use a Cartesian coordinate system to define the drawing space.
My input file describes arcs in terms of a start-point (x0,y0), end-point (x1,y1), and a central angle (a). I need to transform the arcs described in the input to a format that uses a starting angle (c), a total angle (d), and the coordinates of a bounding box whose sides are tangent to the circle that would complete the arc.
I would like to know how I can make such a translation; at least some pointers to the key rules that I can use.
This is not homework, just to clear the air on that matter. Feel free to correct any jargonolgy errors.