summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfontengine_p.h
diff options
context:
space:
mode:
authorSami Merila <sami.merila@nokia.com>2010-03-23 09:44:10 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-03-23 09:44:10 (GMT)
commit47902b7587d66c0941bacf08b31b8caae264f09a (patch)
treefc7b9715220274c9fd07254159502bf90c300fe5 /src/gui/text/qfontengine_p.h
parentdd9c26cba63c54358f3309143b76ae0416f89c78 (diff)
parent0409cdb406021d8609eb2a88a896f9fbc085805f (diff)
downloadQt-47902b7587d66c0941bacf08b31b8caae264f09a.zip
Qt-47902b7587d66c0941bacf08b31b8caae264f09a.tar.gz
Qt-47902b7587d66c0941bacf08b31b8caae264f09a.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6
Diffstat (limited to 'src/gui/text/qfontengine_p.h')
-rw-r--r--src/gui/text/qfontengine_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h
index 71ab5a5..e645caf 100644
--- a/src/gui/text/qfontengine_p.h
+++ b/src/gui/text/qfontengine_p.h
@@ -206,6 +206,8 @@ public:
virtual qreal minLeftBearing() const { return qreal(); }
virtual qreal minRightBearing() const { return qreal(); }
+ virtual void getGlyphBearings(glyph_t glyph, qreal *leftBearing = 0, qreal *rightBearing = 0);
+
virtual const char *name() const = 0;
virtual bool canRender(const QChar *string, int len) = 0;
@@ -374,6 +376,7 @@ public:
virtual void recalcAdvances(QGlyphLayout *, QTextEngine::ShaperFlags) const;
virtual void doKerning(QGlyphLayout *, QTextEngine::ShaperFlags) const;
virtual void addOutlineToPath(qreal, qreal, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags flags);
+ virtual void getGlyphBearings(glyph_t glyph, qreal *leftBearing = 0, qreal *rightBearing = 0);
virtual QFixed ascent() const;
virtual QFixed descent() const;