![]() |
Qt 4.8
|
#include "qtextlayout.h"#include "qtextengine_p.h"#include <qfont.h>#include <qapplication.h>#include <qmath.h>#include <qpainter.h>#include <qvarlengtharray.h>#include <qtextformat.h>#include <qabstracttextdocumentlayout.h>#include "qtextdocument_p.h"#include "qtextformat_p.h"#include "qstyleoption.h"#include "qpainterpath.h"#include "qglyphrun.h"#include "qglyphrun_p.h"#include "qrawfont.h"#include "qrawfont_p.h"#include <limits.h>#include <qdebug.h>#include "qfontengine_p.h"#include "qfontengine_ft_p.h"Go to the source code of this file.
Macros | |
| #define | LB_DEBUG if (0) qDebug |
| #define | ObjectSelectionBrush (QTextFormat::ForegroundBrush + 1) |
| #define | SuppressBackground 0x513 |
| #define | SuppressText 0x5012 |
Functions | |
| static void | addNextCluster (int &pos, int end, QScriptLine &line, int &glyphCount, const QScriptItem ¤t, const unsigned short *logClusters, const QGlyphLayout &glyphs) |
| static void | addSelectedRegionsToPath (QTextEngine *eng, int lineNumber, const QPointF &pos, QTextLayout::FormatRange *selection, QPainterPath *region, QRectF boundingRect) |
| static QRectF | clipIfValid (const QRectF &rect, const QRectF &clip) |
| static void | drawMenuText (QPainter *p, QFixed x, QFixed y, const QScriptItem &si, QTextItemInt &gf, QTextEngine *eng, int start, int glyph_start) |
| static void | setPenAndDrawBackground (QPainter *p, const QPen &defaultPen, const QTextCharFormat &chf, const QRectF &r) |
Definition at line 1639 of file qtextlayout.cpp.
Referenced by QTextLine::layout_helper().
| #define ObjectSelectionBrush (QTextFormat::ForegroundBrush + 1) |
Definition at line 72 of file qtextlayout.cpp.
Referenced by QTextLayout::draw(), and QTextLine::draw().
| #define SuppressBackground 0x513 |
Definition at line 74 of file qtextlayout.cpp.
Referenced by QTextLayout::draw(), and setPenAndDrawBackground().
| #define SuppressText 0x5012 |
Definition at line 73 of file qtextlayout.cpp.
Referenced by QTextLayout::draw(), and QTextLine::draw().
|
inlinestatic |
Definition at line 1760 of file qtextlayout.cpp.
Referenced by QTextLine::layout_helper().
|
static |
Definition at line 1000 of file qtextlayout.cpp.
Referenced by QTextLayout::draw().
Definition at line 1044 of file qtextlayout.cpp.
Referenced by QTextLayout::draw().
|
static |
Definition at line 2077 of file qtextlayout.cpp.
Referenced by QTextLine::draw().
|
static |
Definition at line 2150 of file qtextlayout.cpp.
Referenced by QTextLine::draw().