Add Font:getAscent/getDescent/getBaseline (issue #445)

This commit is contained in:
Bart van Strien
2013-01-18 13:20:40 +01:00
parent 84b6eedf1f
commit 32684b674e
4 changed files with 49 additions and 2 deletions
+5
View File
@@ -136,6 +136,11 @@ public:
bool loadVolatile();
void unloadVolatile();
// Extra font metrics
int getAscent() const;
int getDescent() const;
float getBaseline() const;
private:
enum FontType