use CharMetricsInfo instead FontAdvInfo

This commit is contained in:
2020-07-24 15:29:22 +08:00
parent b60182754e
commit 42de618db7
5 changed files with 30 additions and 26 deletions

View File

@@ -8,6 +8,8 @@ namespace hgl
{
namespace graph
{
class TileFont;
/**
* 字符属性,可精确到字也可精确到段落或是全文
*/
@@ -181,7 +183,7 @@ namespace hgl
// virtual int Layout (const int max_chars,const BaseString<T> &)=0; ///<排版
template<typename T>
int PlaneLayout (const int max_chars,const BaseString<T> &)=0; ///<简易排版
int PlaneLayout (TileFont *,const int max_chars,const BaseString<T> &)=0; ///<简易排版
};//class TextLayout
}//namespace graph
}//namespace hgl