AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
The font manager. 更多...
Public 成员函数 | |
Font^ | FindFont (String^ name) |
void | AddFont (Font^ font) |
void | SetDefaultFont (String^ name) |
String^ | GetDefaultFont () |
Font^ | LoadFont (String^ fontName, String^ filePath) |
StringList^ | ListFontNames () |
The font manager.
TODO:
void AnyCAD::Platform::FontManager::AddFont | ( | Font^ | font | ) |
Add font for reusing.
font | the Font object. |
String ^ AnyCAD::Platform::FontManager::GetDefaultFont | ( | ) |
Get default Font name.
StringList ^ AnyCAD::Platform::FontManager::ListFontNames | ( | ) |
List all the font names.
Font ^ AnyCAD::Platform::FontManager::LoadFont | ( | String^ | fontName, |
String^ | filePath | ||
) |
Load font from file.
fontName | the unique name of the font. |
filePath | the full font file name |
void AnyCAD::Platform::FontManager::SetDefaultFont | ( | String^ | name | ) |
Set the default Font by name.
name | the font name. |