PlatformFont

Engine/source/platform/platformFont.h

More...

Classes:

Public Functions

bool
create(const char * name, dsize_t size, U32 charset)

This is just for createPlatformFont to call.

bool

Is the specified character valid for rendering?

bool

Public Static Functions

Detailed Description

Public Functions

~PlatformFont()

create(const char * name, dsize_t size, U32 charset)

This is just for createPlatformFont to call.

Todo:

Rethink this so we don't have a private public.

Reimplemented by: OSXFont, WinFont, x86UNIXFont

getCharInfo(const UTF16 ch)

Reimplemented by: WinFont, x86UNIXFont, OSXFont

getCharInfo(const UTF8 * str)

Reimplemented by: OSXFont, WinFont, x86UNIXFont

getFontBaseLine()

Reimplemented by: OSXFont, WinFont, x86UNIXFont

getFontHeight()

Reimplemented by: OSXFont, WinFont, x86UNIXFont

isValidChar(const UTF16 ch)

Is the specified character valid for rendering?

Reimplemented by: WinFont, x86UNIXFont, OSXFont

isValidChar(const UTF8 * str)

Reimplemented by: OSXFont, WinFont, x86UNIXFont

Public Static Functions

enumeratePlatformFonts(Vector< StringTableEntry > & fonts, UTF16 * fontFamily)