GRAPHICS: Expose ascent value in font class

This commit is contained in:
Thierry Crozat 2021-03-23 03:33:45 +00:00
parent 4ae94fbd0a
commit a3f3d71c57
8 changed files with 27 additions and 1 deletions

View file

@ -92,6 +92,14 @@ public:
*/
virtual int getFontHeight() const = 0;
/**
* Return the ascent of the font.
*
* @return Font ascent in pixels. If it is unknown
* a value of -1 is returned.
*/
virtual int getFontAscent() const;
/**
* Return the maximum width of the font.
*