Public Member Functions | |
Constructor / Destructor | |
CP_FontSpec () | |
Constructor. | |
CP_FontSpec (const CP_FontSpec &inFontSpec) | |
virtual | ~CP_FontSpec () throw () |
Destructor. | |
Getters | |
SInt16 | GetFlags () |
CP_String | GetName () |
SInt16 | GetSize () |
SInt16 | GetStyle () |
SInt16 | GetJustification () |
CP_RGBColor | GetForeColor () |
CP_RGBColor | GetBackColor () |
SInt16 | GetOSFontNumber () |
Operators | |
CP_FontSpec & | operator= (const CP_FontSpec &inFontSpec) |
Misc | |
void | FillInControlFontStyleRec (ControlFontStyleRec &inFontStyleRec) |
void | SetMetaFontNumber (SInt16 inMetaFontNumber, SInt16 inFlags=0) |
Resources | |
void | Load (SInt16 inResourceID) |
Setters | |
void | SetFlags (SInt16 inFlags) |
void | SetName (const CP_String &inName) |
void | SetSize (SInt16 inSize) |
void | SetStyle (SInt16 inStyle) |
void | SetMode (SInt16 inMode) |
void | SetJustification (SInt16 inJustification) |
void | SetForeColor (const CP_RGBColor &inForeColor) |
void | SetBackColor (const CP_RGBColor &inBackColor) |
void | SetFromSystemName (const CP_String &inFontName) |
void | SetOSFontNumber (SInt16 inOSFontNumber) |
Protected Attributes | |
SInt16 | fFlags |
CP_String | fName |
SInt16 | fSize |
SInt16 | fStyle |
SInt16 | fMode |
SInt16 | fJustification |
CP_RGBColor | fForeColor |
CP_RGBColor | fBackColor |
SInt16 | fOSFontNumber |
|
Constructor. |
|
Constructor. |
|
Destructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flags that indicate which field is valid. |
|
Name of the font. |
|
Size for the font. |
|
Style used on the font, bold, italic, etc. |
|
Transfer mode used with font. |
|
Justification used. |
|
Foreground color. |
|
Background color. |