MacCarbFont
Engine/source/platformMac/macCarbFont.h
Private Attributes
Public Functions
bool
getCharInfo(const UTF8 * str)
Get some vertical data on the font at large. Useful for drawing multiline text, and sizing text boxes.
bool
isValidChar(const UTF16 ch)
Determine if the character requested is a drawable character, or if it should be ignored.
bool
isValidChar(const UTF8 * str)
Detailed Description
Private Attributes
U32 mBaseline
CGColorSpaceRef mColorSpace
U32 mHeight
ATSUTextLayout mLayout
StringTableEntry mName
U32 mSize
ATSUStyle mStyle
Public Functions
MacCarbFont()
~MacCarbFont()
create(const char * name, U32 size, U32 charset)
Reimplemented from: PlatformFont
getCharInfo(const UTF16 ch)
Reimplemented from: PlatformFont
getCharInfo(const UTF8 * str)
Reimplemented from: PlatformFont
getFontBaseLine()
Reimplemented from: PlatformFont
getFontHeight()
Reimplemented from: PlatformFont
isValidChar(const UTF16 ch)
Reimplemented from: PlatformFont
isValidChar(const UTF8 * str)
Reimplemented from: PlatformFont
