#ifndef HGL_GRAPH_FONT_INCLUDE #define HGL_GRAPH_FONT_INCLUDE #include namespace hgl { namespace graph { constexpr size_t MAX_FONT_NAME_LENGTH=128; /** * 字体信息 */ struct Font:public ComparatorData { os_char name[MAX_FONT_NAME_LENGTH]; ///<字体名称 int width; ///<宽度 int height; ///<高度 bool bold; ///<加粗 bool italic; ///<右斜 bool anti; ///<反矩齿 public: Font(); Font(const os_char *,int,int,bool b=false,bool i=false,bool=true); };//struct Font }//namespace graph }//namespace hgl #endif//HGL_GRAPH_FONT_INCLUDE