mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Add Font:getAscent/getDescent/getBaseline (issue #445)
This commit is contained in:
@@ -136,6 +136,11 @@ public:
|
||||
bool loadVolatile();
|
||||
void unloadVolatile();
|
||||
|
||||
// Extra font metrics
|
||||
int getAscent() const;
|
||||
int getDescent() const;
|
||||
float getBaseline() const;
|
||||
|
||||
private:
|
||||
|
||||
enum FontType
|
||||
|
||||
Reference in New Issue
Block a user