Inheritance diagram for CP_FontMetrics:

| Public Member Functions | |
| Constructor / Destructor | |
| CP_FontMetrics (CP_Font *inOwnerFont) | |
| Constructor. | |
| virtual | ~CP_FontMetrics () throw () | 
| Destructor. | |
| Getters | |
| SInt16 | Height () | 
| SInt16 | AscentHeight () | 
| Measurement | |
| SInt16 | CharWidth (char inChar) | 
| SInt32 | TextWidth (const CP_String &inText) | 
| SInt32 | TextWidth (char *inText, SInt32 inLineStart, SInt32 inLineLength) | 
| Protected Attributes | |
| CP_Font * | fOwnerFont | 
| 
 | 
| Constructor. 
 
 | 
| 
 | 
| Destructor. 
 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 | 
| Add a reference to our object, returning the new reference count. 
 
 
 | 
| 
 | 
| Remove a reference to our object, returning the new reference count. If the count is 0, then this object is also deleted, and 0 is returned. 
 
 
 | 
| 
 | 
| Add the object to the topmost auto-release pool. This will ensure that the object is eventually released. 
 
 
 | 
| 
 | 
| Returns the current ref count. 
 
 
 | 
| 
 | 
| 
 | 
 1.4.0
 1.4.0