add Font::get_line_height()
This commit is contained in:
1 parent
eacfe407b4
commit
3fdc113b5f
1 file changed
+1
@@ -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();
|
||||||
|
|||||||
Reference in new issue
Block a user