summaryrefslogtreecommitdiffstats
path: root/ui/gfx/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/font.h')
-rw-r--r--ui/gfx/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/gfx/font.h b/ui/gfx/font.h
index 5187ec4..020ab64 100644
--- a/ui/gfx/font.h
+++ b/ui/gfx/font.h
@@ -69,6 +69,9 @@ class GFX_EXPORT Font {
// Returns the baseline, or ascent, of the font.
int GetBaseline() const;
+ // Returns the cap height of the font.
+ int GetCapHeight() const;
+
// Returns the average character width for the font.
int GetAverageCharacterWidth() const;