add Font::get_advance()
This commit is contained in:
parent
f31c1c2532
commit
c147cbad3f
@ -10,6 +10,7 @@ class Font
|
||||
public:
|
||||
bool load(const char * fname, int size);
|
||||
std::shared_ptr<Glyph> get_glyph(FT_ULong character);
|
||||
int get_advance() { return m_advance; }
|
||||
|
||||
protected:
|
||||
bool preload_glyphs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user