AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
字体 更多...
Public 成员函数 | |
void | SetName (String^ name) |
String^ | GetName () |
void | SetFontFile (String^ fontFile) |
String^ | GetFontFile () |
int | GetCharWdith () |
void | SetCharWdith (int val) |
int | GetCharHeight () |
void | SetCharHeight (int val) |
void | Update () |
bool | Decompose (wchar_t ch, FontDecomposer^ decomposer) |
字体
TODO:
bool AnyCAD::Platform::Font::Decompose | ( | wchar_t | ch, |
FontDecomposer^ | decomposer | ||
) |
Decompose the outline of the character
ch | the character |
decomposer | the decomposing algorithm |
int AnyCAD::Platform::Font::GetCharHeight | ( | ) |
Get the character's height, default size is 12.
int AnyCAD::Platform::Font::GetCharWdith | ( | ) |
Get the character's width
String ^ AnyCAD::Platform::Font::GetFontFile | ( | ) |
Get Font File Name
String ^ AnyCAD::Platform::Font::GetName | ( | ) |
Get Name
void AnyCAD::Platform::Font::SetCharHeight | ( | int | val | ) |
Set the character's height, default size is 12.
val | the height value |
void AnyCAD::Platform::Font::SetCharWdith | ( | int | val | ) |
Set the character's width
val | the width value |
void AnyCAD::Platform::Font::SetFontFile | ( | String^ | fontFile | ) |
Set Font File
fontFile | the file name |
void AnyCAD::Platform::Font::SetName | ( | String^ | name | ) |
Set Name
name | the name |
void AnyCAD::Platform::Font::Update | ( | ) |
Update the font