diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-07-12 12:42:37 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-07-14 11:39:28 (GMT) |
commit | 1348b33591182e16264ff15854efe849638ca04c (patch) | |
tree | 9073fb87f69a2472fb1a296e1fd78f73e09500b9 /doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp | |
parent | 5bcb42d8f47f7206e9c0776b67a4c990ac93aa34 (diff) | |
download | Qt-1348b33591182e16264ff15854efe849638ca04c.zip Qt-1348b33591182e16264ff15854efe849638ca04c.tar.gz Qt-1348b33591182e16264ff15854efe849638ca04c.tar.bz2 |
Support text decoration in QPainter::drawGlyphs()
In order to support text decorations (overline, underline and strikeout)
in QPainter::drawGlyphs(), we need to call drawTextItemDecoration()
from this function. To support this, it has been generalized to no
longer require a QTextItemInt. We also need to propagate the decoration
attributes of the font from QTextLayout to QGlyphs, since this is not
part of the QFontEngine.
Task-number: QTBUG-12122
Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlquery.cpp')
0 files changed, 0 insertions, 0 deletions