The 2D geometry classes are based on the 2D computational and point array classes described in Chapter 2. For convenience, the 2-S geometry classes are divided into path geometry and areaenclosing geometry classes. Path geometry is lineoriented geometry that can be framed, but not filled. Areaenclosing geometry forms a closed shape that can be framed and filled.
This chapter describes the MGraphic derived classes and some of the geometry classes shown in Figure 31
Also described in this chapter is the TGGlyphRun geometry class. TGGlyphRun has no corresponding MGraphic derived class. To display a text string, use TTextDisplay and other related Text system classes. The TGGlyphRun is intended for localized text layout systems only. See the heading "Glyph Runs" on page 67 for informaiton on glyph runs.
To create your own 2-D graphic, derive from MGraphic directly or from one of the MGraphic derived classes. The 2D geometry classes are not intended to be derived from and customized. Information on how to create your own custom graphic is in Chapter 11.