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