AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
APIFontManager.h
浏览该文件的文档.
1 //Public API. Powered by AnyCAD.
2 
3 #ifndef _APIFontManager_H_
4 #define _APIFontManager_H_
5 
6 #include "APIObjectDef.h"
7 
8 namespace AnyCAD{ namespace API
9 {
10  class Font;
19  {
21  public:
26  Font FindFont (const String& name) const;
31  void AddFont (const Font& font) ;
36  void SetDefaultFont (const String& name) ;
41  String GetDefaultFont () const;
48  Font LoadFont (const String& fontName, const String& filePath) ;
53  StringList ListFontNames () const;
54  };//FontManager;
55 }}//API
56 
57 #endif //_APIFontManager_H_
#define AnyPlatformAPI_API
Definition: AnyPlatformAPI.h:8
std::string String
Definition: APIString.h:10
std::vector< String > StringList
Definition: APIString.h:12
The font manager.
Definition: APIFontManager.h:18
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
字体
Definition: APIFont.h:18