Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_FontSpec Class Reference

A simple class used to specify the properties of a font.

List of all members.

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)
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)
Misc
void FillInControlFontStyleRec (ControlFontStyleRec &inFontStyleRec)
void SetMetaFontNumber (SInt16 inMetaFontNumber, SInt16 inFlags=0)

Protected Attributes

SInt16 fFlags
CP_String fName
SInt16 fSize
SInt16 fStyle
SInt16 fMode
SInt16 fJustification
CP_RGBColor fForeColor
CP_RGBColor fBackColor
SInt16 fOSFontNumber


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_FontSpec::CP_FontSpec (   ) 
 

Constructor.

CP_FontSpec::CP_FontSpec (  const CP_FontSpec &  inFontSpec  ) 
 

Constructor.

CP_FontSpec::~CP_FontSpec (   )  throw () [virtual]
 

Destructor.


Member Function Documentation

SInt16 CP_FontSpec::GetFlags (   ) 
 

CP_String CP_FontSpec::GetName (   ) 
 

SInt16 CP_FontSpec::GetSize (   ) 
 

SInt16 CP_FontSpec::GetStyle (   ) 
 

SInt16 CP_FontSpec::GetJustification (   ) 
 

CP_RGBColor CP_FontSpec::GetForeColor (   ) 
 

CP_RGBColor CP_FontSpec::GetBackColor (   ) 
 

SInt16 CP_FontSpec::GetOSFontNumber (   ) 
 

CP_FontSpec & CP_FontSpec::operator= (  const CP_FontSpec &  inFontSpec  ) 
 

void CP_FontSpec::Load (  SInt16  inResourceID  ) 
 

void CP_FontSpec::SetFlags (  SInt16  inFlags  ) 
 

void CP_FontSpec::SetName (  const CP_String &  inName  ) 
 

void CP_FontSpec::SetSize (  SInt16  inSize  ) 
 

void CP_FontSpec::SetStyle (  SInt16  inStyle  ) 
 

void CP_FontSpec::SetMode (  SInt16  inMode  ) 
 

void CP_FontSpec::SetJustification (  SInt16  inJustification  ) 
 

void CP_FontSpec::SetForeColor (  const CP_RGBColor &  inForeColor  ) 
 

void CP_FontSpec::SetBackColor (  const CP_RGBColor &  inBackColor  ) 
 

void CP_FontSpec::SetFromSystemName (  const CP_String &  inFontName  ) 
 

void CP_FontSpec::SetOSFontNumber (  SInt16  inOSFontNumber  ) 
 

void CP_FontSpec::FillInControlFontStyleRec (  ControlFontStyleRec &  inFontStyleRec  ) 
 

void CP_FontSpec::SetMetaFontNumber (  SInt16  inMetaFontNumber,
SInt16  inFlags = 0
) 
 


Member Data Documentation

SInt16 CP_FontSpec::fFlags [protected]
 

CP_String CP_FontSpec::fName [protected]
 

Flags that indicate which field is valid.

SInt16 CP_FontSpec::fSize [protected]
 

Name of the font.

SInt16 CP_FontSpec::fStyle [protected]
 

Size for the font.

SInt16 CP_FontSpec::fMode [protected]
 

Style used on the font, bold, italic, etc.

SInt16 CP_FontSpec::fJustification [protected]
 

Transfer mode used with font.

CP_RGBColor CP_FontSpec::fForeColor [protected]
 

Justification used.

CP_RGBColor CP_FontSpec::fBackColor [protected]
 

Foreground color.

SInt16 CP_FontSpec::fOSFontNumber [protected]
 

Background color.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:42 2005 for CPLAT by  doxygen 1.4.0