WinFont

Engine/source/platformWin32/winFont.h

More...

Private Attributes

HFONT
TEXTMETRIC

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

Detailed Description

Private Attributes

HFONT mFont 
TEXTMETRIC mTextMetric 

Public Functions

WinFont()

~WinFont()

create(const char * name, dsize_t 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