OSXFont
Engine/source/platformMac/macFont.h
Public Functions
OSXFont()
~OSXFont()
bool
getCharInfo(const UTF16 character)
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 character)
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
CTFontRef mFontRef
U32 mHeight
Public Functions
OSXFont()
~OSXFont()
create(const char * name, dsize_t size, U32 charset)
Reimplemented from: PlatformFont
getCharInfo(const UTF16 character)
Reimplemented from: PlatformFont
getCharInfo(const UTF8 * str)
Reimplemented from: PlatformFont
getFontBaseLine()
Reimplemented from: PlatformFont
getFontHeight()
Reimplemented from: PlatformFont
isValidChar(const UTF16 character)
Reimplemented from: PlatformFont
isValidChar(const UTF8 * str)
Reimplemented from: PlatformFont