diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-02 14:13:06 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-05-04 14:34:21 +0200 |
commit | 2a8d50ed6a8e3ca6a03b407028ea175460af6e2f (patch) | |
tree | 9544f4543c4fca3dfc7594e3e02f620609f388d3 /src/gui/text/qrawfont.h | |
parent | c41153e69336701488385d9194d72e72164b28b8 (diff) |
Add required font metrics functions to QRawFont
Reviewed-by: Eskil
(cherry picked from commit 2c8df8bfb679885c3cbd2ee02f5e4053fdd554c2)
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r-- | src/gui/text/qrawfont.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h index 56aeefc8ff..900c07a7dd 100644 --- a/src/gui/text/qrawfont.h +++ b/src/gui/text/qrawfont.h @@ -103,6 +103,10 @@ public: qreal ascent() const; qreal descent() const; + qreal leading() const; + qreal xHeight() const; + qreal averageCharWidth() const; + qreal maxCharWidth() const; qreal unitsPerEm() const; |