Please help with drawing lines and arcs

Please look at the image here...

http://chlpro.com/drawing.jpg

I am working on an algorithm that will take the center point locations and diameters of a set of circles (like the red circles) and encompass them with a shape (like the blue shape). I have just about got the logic complete but now I need to take it to the concluding step which is to actually draw the encompassing line around the set of given circles.

The shape will consist of tangent lines and arcs. These lines need to have control points (green squares) at the ends of each line and arc and control points at the center point of each line and arc. Now here's the question...

Is there a set of drawing tools available in a C++ library that can be used to accomplish this? If so can someone please show me where they are and how to get to them and possibly some previous examples of their use.

Thank you very much.

tex
Topic archived. No new replies allowed.