The most important methods within this class are the BuildTextFragments methods. (see AD comments below) These methods, taking into account style information, populate a list of 2D objects with all of the required data to render text on a circle. The buildtextFragments methods do NOT draw the required shapes, they simply add the shapes to a rendering list. The class Draw() method adds the generated shapes to the instance group object for rendering puropses.
The basic draw process is as follows: 1. Calculate the width of every character and the total length of the text block. 2. Determine the percentage length that each char takes on the circle. 3. From the percentage, calculate the angle to the character. 4. Find the x,y co-ordinates of the angle in 3. 5. Add a text char with the caculated co-ords and angle to the render list. 6. Do for all chars.
1.5.1