summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont.h
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-06-27 15:23:03 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-27 16:52:31 +0200
commit06c20891c12fd1089f7c41138fd50c6b26fdda69 (patch)
tree1db0d733ea7f114794b2eb9ebc262d374758bfae /src/gui/text/qrawfont.h
parente3172080a2e39ce0f76764ce1aef873642666a79 (diff)
Add missing APIs to QRawFont and some additional notes to fromFont
Change-Id: I8487a2e32f5b71a1eb51dcb8540cb5de2def09f6 Reviewed-on: http://codereview.qt.nokia.com/769 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r--src/gui/text/qrawfont.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h
index aca33af127..d517c9ad7a 100644
--- a/src/gui/text/qrawfont.h
+++ b/src/gui/text/qrawfont.h
@@ -111,6 +111,8 @@ public:
qreal xHeight() const;
qreal averageCharWidth() const;
qreal maxCharWidth() const;
+ qreal lineThickness() const;
+ qreal underlinePosition() const;
qreal unitsPerEm() const;