Public Member Functions | |
| Font (SystemFont nSystemFont) | |
| Font (const String &szFamily, const String &szStyle, const String &szFileName) | |
| ~Font () | |
| bool | IsValid () |
| void | AddRef () |
| bool | Release () |
| bool | SetSize (int iSize) |
| int | GetSize () const |
| bool | IsSmoothed () const |
| int | GetStringWidth (const String &cString, int iMaxBytes=-1) |
| int | GetStringHeight (const String &cString) |
| int | GetHeight () |
| Rect | GetStringBounds (const String &cString) |
| Rect | GetMultilineStringBounds (const String &cString) |
| int | FitChars (const String &cString, int iLength) |
| sGlyph * | GetGlyph (unsigned int uiIndex) |
| FontPhysical * | GetPhysicalFont () const |
| int | GetAscend () |
| int | GetDescend () |
| int | GetLineGap () |
| int | GetAdvance () |
| int | GetStyleCount () |
| bool | EnumStyles (int iIndex, String &pStyleName) |
| String | GetFamilyName () |
| String | GetStyleName () |
| void | DebugRef () |
| int | GetRef () |
| void * | GetFace () |
Static Public Member Functions | |
| static int | GetFamilyCount () |
| static int | GetFontFilesCount () |
| static int | GetStyleCount (const String &szFamily) |
| static bool | EnumFamilies (int iIndex, String &pFamilyName) |
| static int | ReloadAllFonts (bool bRegisterGlobally=true) |
| static int | CountCreateFonts () |
Classes | |
| class | Private |
| Font::Font | ( | SystemFont | nSystemFont | ) |
Font constructor
Font constructor
| Font::~Font | ( | ) |
| bool Font::IsValid | ( | ) |
| void Font::AddRef | ( | ) |
| bool Font::Release | ( | ) |
| bool Font::SetSize | ( | int | iSize | ) |
| int Font::GetSize | ( | ) | const |
| bool Font::IsSmoothed | ( | ) | const |
| int Font::GetStringWidth | ( | const String & | cString, | |
| int | iMaxBytes = -1 | |||
| ) |
| int Font::GetStringHeight | ( | const String & | cString | ) |
| int Font::GetHeight | ( | ) |
| int Font::FitChars | ( | const String & | cString, | |
| int | iLength | |||
| ) |
| sGlyph * Font::GetGlyph | ( | unsigned int | uiIndex | ) |
| FontPhysical * Font::GetPhysicalFont | ( | ) | const |
| int Font::GetAscend | ( | ) |
| int Font::GetDescend | ( | ) |
| int Font::GetLineGap | ( | ) |
| int Font::GetAdvance | ( | ) |
| int Font::GetFamilyCount | ( | ) | [static] |
| int Font::GetFontFilesCount | ( | ) | [static] |
| int Font::GetStyleCount | ( | ) |
| int Font::GetStyleCount | ( | const String & | szFamily | ) | [static] |
| bool Font::EnumFamilies | ( | int | iIndex, | |
| String & | pFamilyName | |||
| ) | [static] |
| bool Font::EnumStyles | ( | int | iIndex, | |
| String & | pStyleName | |||
| ) |
| int Font::ReloadAllFonts | ( | bool | bRegisterGlobally = true |
) | [static] |
| String Font::GetFamilyName | ( | ) |
| String Font::GetStyleName | ( | ) |
| int Font::CountCreateFonts | ( | ) | [static] |
| void Font::DebugRef | ( | ) |
| int Font::GetRef | ( | ) |
| void * Font::GetFace | ( | ) |
1.5.1-p1