AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::Font类 参考

字体 更多...

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

参数
chthe character
decomposerthe decomposing algorithm
返回
the name
int AnyCAD::Platform::Font::GetCharHeight ( )

Get the character's height, default size is 12.

返回
the height
int AnyCAD::Platform::Font::GetCharWdith ( )

Get the character's width

返回
the width
String ^ AnyCAD::Platform::Font::GetFontFile ( )

Get Font File Name

返回
the name
String ^ AnyCAD::Platform::Font::GetName ( )

Get Name

返回
the name
void AnyCAD::Platform::Font::SetCharHeight ( int  val)

Set the character's height, default size is 12.

参数
valthe height value
void AnyCAD::Platform::Font::SetCharWdith ( int  val)

Set the character's width

参数
valthe width value
void AnyCAD::Platform::Font::SetFontFile ( String^  fontFile)

Set Font File

参数
fontFilethe file name
void AnyCAD::Platform::Font::SetName ( String^  name)

Set Name

参数
namethe name
void AnyCAD::Platform::Font::Update ( )

Update the font


该类的文档由以下文件生成: