GRAPHICS: Expose ascent value in font class
This commit is contained in:
parent
4ae94fbd0a
commit
a3f3d71c57
8 changed files with 27 additions and 1 deletions
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue