equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
104 |
104 |
105 virtual QImage alphaMapForGlyph(glyph_t t) { return alphaMapForGlyph(t, QTransform()); } |
105 virtual QImage alphaMapForGlyph(glyph_t t) { return alphaMapForGlyph(t, QTransform()); } |
106 virtual QImage alphaMapForGlyph(glyph_t, const QTransform &xform); |
106 virtual QImage alphaMapForGlyph(glyph_t, const QTransform &xform); |
107 virtual QImage alphaRGBMapForGlyph(glyph_t t, int margin, const QTransform &xform); |
107 virtual QImage alphaRGBMapForGlyph(glyph_t t, int margin, const QTransform &xform); |
108 |
108 |
|
109 virtual void getGlyphBearings(glyph_t glyph, qreal *leftBearing = 0, qreal *rightBearing = 0); |
|
110 |
109 int getGlyphIndexes(const QChar *ch, int numChars, QGlyphLayout *glyphs, bool mirrored) const; |
111 int getGlyphIndexes(const QChar *ch, int numChars, QGlyphLayout *glyphs, bool mirrored) const; |
110 void getCMap(); |
112 void getCMap(); |
111 |
113 |
112 #ifndef Q_WS_WINCE |
114 #ifndef Q_WS_WINCE |
113 bool getOutlineMetrics(glyph_t glyph, const QTransform &t, glyph_metrics_t *metrics) const; |
115 bool getOutlineMetrics(glyph_t glyph, const QTransform &t, glyph_metrics_t *metrics) const; |