PlatformFont Class Reference

#include <platformFont.h>

Inheritance diagram for PlatformFont:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual bool isValidChar (const UTF16 ch) const =0
 Is the specified character valid for rendering?
virtual bool isValidChar (const UTF8 *str) const =0
virtual U32 getFontHeight () const =0
virtual U32 getFontBaseLine () const =0
virtual PlatformFont::CharInfogetCharInfo (const UTF16 ch) const =0
virtual PlatformFont::CharInfogetCharInfo (const UTF8 *str) const =0
virtual bool create (const char *name, U32 size, U32 charset=TGE_ANSI_CHARSET)=0
 This is just for createPlatformFont to call.

Static Public Member Functions

static void enumeratePlatformFonts (Vector< StringTableEntry > &fonts, UTF16 *fontFamily=NULL)

Classes

struct  CharInfo

Member Function Documentation

virtual bool PlatformFont::isValidChar ( const UTF16  ch  )  const [pure virtual]

Is the specified character valid for rendering?

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual bool PlatformFont::isValidChar ( const UTF8 str  )  const [pure virtual]

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual U32 PlatformFont::getFontHeight (  )  const [pure virtual]

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual U32 PlatformFont::getFontBaseLine (  )  const [pure virtual]

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual PlatformFont::CharInfo& PlatformFont::getCharInfo ( const UTF16  ch  )  const [pure virtual]

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual PlatformFont::CharInfo& PlatformFont::getCharInfo ( const UTF8 str  )  const [pure virtual]

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

virtual bool PlatformFont::create ( const char *  name,
U32  size,
U32  charset = TGE_ANSI_CHARSET 
) [pure virtual]

This is just for createPlatformFont to call.

Implemented in MacCarbFont, WinFont, and x86UNIXFont.

static void PlatformFont::enumeratePlatformFonts ( Vector< StringTableEntry > &  fonts,
UTF16 fontFamily = NULL 
) [static]