#include <EmscriptenFont.h>
bool create |
( |
const char * |
name, |
|
|
U32 |
size, |
|
|
U32 |
charset = TGE_ANSI_CHARSET |
|
) |
| |
|
virtual |
Look up the requested font, cache style, layout, colorspace, and some metrics.
Implements PlatformFont.
virtual U32 getFontBaseLine |
( |
| ) |
const |
|
inlinevirtual |
virtual U32 getFontHeight |
( |
| ) |
const |
|
inlinevirtual |
Get some vertical data on the font at large. Useful for drawing multiline text, and sizing text boxes.
Implements PlatformFont.
bool isValidChar |
( |
const UTF16 |
character | ) |
const |
|
virtual |
Determine if the character requested is a drawable character, or if it should be ignored.
Implements PlatformFont.
bool isValidChar |
( |
const UTF8 * |
str | ) |
const |
|
virtual |
The documentation for this class was generated from the following files:
- platformEmscripten/EmscriptenFont.h
- platformEmscripten/EmscriptenFont.cpp