CGXFont Class Members
Construction
| CGXFont | Constructs a font object. |
Operations
| operator= | Copies a font object. |
| operator== | Compares two font objects. |
| SetDefault | Initializes the default settings. |
| IsSubSet | Checks if the specified font is a subset of the font. |
| ChangeFont | Applies another font to the font. Following operations are supported: gxOverride, gxApplyNew, gxCopy or gxRemove. |
| SetDescription | Initializes the font through a description string. |
| GetDescription | Returns the description string for a font. |
| SetLogFont | Initializes the font with a LOGFONT structure. All include bits will be set. |
| GetLogFont | Returns a LOGFONT structure for the font. The font can be adapted to a zooming factor. |
| GetLogFontRef | Returns a reference to the LOGFONT object. |
| IsEmptyFont | Checks if any attributes of the CGXFont object have been initialized. |
| GetFontKey | Returns a binary 8-Byte long key. |
Persistence
| ReadProfile | Reads the font from the profile. |
| WriteProfile | Writes the font to the profile. |
| Serialize | Serializes the font. |
Attribute Methods
| GetIncludeWeight | Returns the include state for the font weight. |
| SetIncludeWeight | Specifies the include state for the font weight. |
| GetWeight | Returns the font weight setting. |
| SetWeight | Initializes the font weight setting. |
| GetBold | Returns whether the font weight is bold. |
| SetBold | Initializes the font weight with bold. |
| GetIncludeItalic | Returns the include state for the italic style. |
| SetIncludeItalic | Specifies the include state for the italic style. |
| GetItalic | Returns the italic style setting. |
| SetItalic | Initializes the italic style setting. |
| GetIncludeUnderline | Returns the include state for the underline style. |
| SetIncludeUnderline | Specifies the include state for the underline style. |
| GetUnderline | Returns the underline style setting. |
| SetUnderline | Initializes the underline style setting. |
| GetIncludeStrikeOut | Returns the include state for the strikeout style. |
| SetIncludeStrikeOut | Specifies the include state for the strikeout style. |
| GetStrikeOut | Returns the strikeout style setting. |
| SetStrikeOut | Initializes the strikeout style setting. |
| GetIncludeSize | Returns the include state for the font size. |
| SetIncludeSize | Specifies the include state for the font size. |
| GetSize | Returns the font size. |
| SetSize | Initializes the font size. |
| GetIncludeFaceName | Returns the include state for the facename. |
| SetIncludeFaceName | Specifies the include state for the facename.. |
| GetFaceName | Returns the facename. |
| SetFaceName | Initializes the facename. |
| GetFaceNameId | Returns a unique integer identifier for the facename. |
| SetFaceNameId | Sets the facename through a unique integer identifier for the facename. |
| GetIncludeOrientation | Returns the include state for the font orientation. |
| SetIncludeOrientation | Specifies the include state for the font orientation.. |
| GetOrientation | Returns the font orientation. |
| SetOrientation | Initializes the font orientation. |






