ULRE/inc/hgl/graph/font/TileFont.h
2020-07-07 19:16:23 +08:00

29 lines
736 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef HGL_GRAPH_TILE_FONT_INCLUDE
#define HGL_GRAPH_TILE_FONT_INCLUDE
#include<hgl/graph/TileData.h>
#include<hgl/graph/font/FontSource.h>
#include<hgl/type/UnicodeBlocks.h>
namespace hgl
{
namespace graph
{
/**
* Tile字符管理<br>
* 本模块允许有多个字符数据来源每个来源也可以对应多个unicode块, 但一个unicode块只能对应一个字体数据来源
*/
class TileFont
{
FontSource *source;
TileData *tile_data;
public:
TileFont(TileData *td,FontSource *fs);
virtual ~TileFont();
};//class TileFont
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_TILE_FONT_INCLUDE