AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIFont.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIFont_H_
4 #define _APIFont_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class FontDecomposer;
19  {
21  public:
26  void SetName (const String& name) ;
31  String GetName () const;
36  void SetFontFile (const String& fontFile) ;
41  String GetFontFile () const;
46  int GetCharWdith () const;
51  void SetCharWdith (int val) ;
56  int GetCharHeight () const;
61  void SetCharHeight (int val) ;
65  virtual void Update () ;
72  bool Decompose (const wchar_t& ch, const FontDecomposer& decomposer) const;
73  };//Font;
74 }}//API
75 
76 #endif //_APIFont_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
字体
Definition: APIFont.h:18
The font outline decomposer.
Definition: APIFontDecomposer.h:17