载入中...
搜索中...
未找到
eve::font::Font类 参考
Resource module for decoding TrueType / OpenType fonts via FreeType. Produces FontData (CPU metrics + glyph raster); GPU upload/draw is graphics'. 更多...
#include <Font.h>
类 eve::font::Font 继承关系图:
Public 成员函数 | |
| Module_REG (Font) | |
| Font () | |
| ~Font () override | |
| FontData * | newFontData (Data *data, int size=16) |
| Decode a font from in-memory bytes at the given pixel size. | |
| FontData * | newFontDataFromFile (std::string path, int size=16) |
| Decode a font from a VFS path (physfs) at the given pixel size. | |
Public 成员函数 继承自 eve::Module | |
| virtual | ~Module () |
| virtual std::string | getName () const =0 |
详细描述
Resource module for decoding TrueType / OpenType fonts via FreeType. Produces FontData (CPU metrics + glyph raster); GPU upload/draw is graphics'.
构造及析构函数说明
◆ Font()
|
default |
◆ ~Font()
|
overridedefault |
成员函数说明
◆ Module_REG()
| eve::font::Font::Module_REG | ( | Font | ) |
◆ newFontData()
◆ newFontDataFromFile()
| FontData * eve::font::Font::newFontDataFromFile | ( | std::string | path, |
| int | size = 16 |
||
| ) |
Decode a font from a VFS path (physfs) at the given pixel size.
引用了 eve::ResourceManager::get(), eve::ResourceManager::getInstance() , 以及 eve::ResourceManager::makeKey().
该类的文档由以下文件生成:
Public 成员函数 继承自