Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
WinFont Class Reference

`#include <winFont.h>`

Inheritance diagram for WinFont:

## Public Member Functions
| WinFont ()
virtual | ~WinFont ()
virtual bool | isValidChar (const UTF16 ch) const
virtual bool | isValidChar (const UTF8 *str) const
virtual U32 | getFontHeight () const
virtual U32 | getFontBaseLine () const
virtual PlatformFont::CharInfo & | getCharInfo (const UTF16 ch) const
virtual PlatformFont::CharInfo & | getCharInfo (const UTF8 *str) const
virtual bool | create (const char *name, U32 size, U32 charset=TGE_ANSI_CHARSET)
Public Member Functions inherited from PlatformFont
| PlatformFont ()
virtual | ~PlatformFont ()

## Additional Inherited Members
Static Public Member Functions inherited from PlatformFont
static void | enumeratePlatformFonts (Vector< StringTableEntry > &fonts)

## Constructor & Destructor Documentation

WinFont | ( |  | ) |

~WinFont | ( |  | ) |
| virtual

## Member Function Documentation

bool create | ( | const char * | name,
|  | U32 | size,
|  | U32 | charset = `TGE_ANSI_CHARSET`
| ) |  |
| virtual

Implements PlatformFont.

PlatformFont::CharInfo & getCharInfo | ( | const UTF16 | ch | ) | const
| virtual

Implements PlatformFont.

PlatformFont::CharInfo & getCharInfo | ( | const UTF8 * | str | ) | const
| virtual

Implements PlatformFont.

virtual U32 getFontBaseLine | ( |  | ) | const
| inline virtual

Implements PlatformFont.

virtual U32 getFontHeight | ( |  | ) | const
| inline virtual

Implements PlatformFont.

bool isValidChar | ( | const UTF16 | ch | ) | const
| virtual

Implements PlatformFont.

bool isValidChar | ( | const UTF8 * | str | ) | const
| virtual

Implements PlatformFont.

The documentation for this class was generated from the following files:

- platformWin32/winFont.h
- platformWin32/winFont.cc