Qt 4.8
|
#include <qtextengine_p.h>
Public Functions | |
void | initWithScriptItem (const QScriptItem &si) |
QTextItemInt | midItem (QFontEngine *fontEngine, int firstGlyphIndex, int numGlyphs) const |
QTextItemInt () | |
QTextItemInt (const QScriptItem &si, QFont *font, const QTextCharFormat &format=QTextCharFormat()) | |
QTextItemInt (const QGlyphLayout &g, QFont *font, const QChar *chars, int numChars, QFontEngine *fe, const QTextCharFormat &format=QTextCharFormat()) | |
Public Functions inherited from QTextItem | |
qreal | ascent () const |
Corresponds to the ascent of the piece of text that is drawn. More... | |
qreal | descent () const |
Corresponds to the descent of the piece of text that is drawn. More... | |
QFont | font () const |
Returns the font that should be used to draw the text. More... | |
RenderFlags | renderFlags () const |
Returns the render flags used. More... | |
QString | text () const |
Returns the text that should be drawn. More... | |
qreal | width () const |
Specifies the total width of the text to be drawn. More... | |
Public Variables | |
QFixed | ascent |
const QTextCharFormat | charFormat |
const QChar * | chars |
QFixed | descent |
const QFont * | f |
RenderFlags | flags |
QFontEngine * | fontEngine |
QGlyphLayout | glyphs |
bool | justified |
const unsigned short * | logClusters |
int | num_chars |
QTextCharFormat::UnderlineStyle | underlineStyle |
QFixed | width |
Additional Inherited Members | |
Public Types inherited from QTextItem | |
enum | RenderFlag { RightToLeft = 0x1, Overline = 0x10, Underline = 0x20, StrikeOut = 0x40, Dummy = 0xffffffff } |
Internal QTextItem.
Definition at line 307 of file qtextengine_p.h.
|
inline |
Definition at line 310 of file qtextengine_p.h.
QTextItemInt::QTextItemInt | ( | const QScriptItem & | si, |
QFont * | font, | ||
const QTextCharFormat & | format = QTextCharFormat() |
||
) |
Definition at line 3086 of file qtextengine.cpp.
QTextItemInt::QTextItemInt | ( | const QGlyphLayout & | g, |
QFont * | font, | ||
const QChar * | chars, | ||
int | numChars, | ||
QFontEngine * | fe, | ||
const QTextCharFormat & | format = QTextCharFormat() |
||
) |
Definition at line 3097 of file qtextengine.cpp.
void QTextItemInt::initWithScriptItem | ( | const QScriptItem & | si | ) |
Definition at line 3104 of file qtextengine.cpp.
Referenced by QTextItemInt().
QTextItemInt QTextItemInt::midItem | ( | QFontEngine * | fontEngine, |
int | firstGlyphIndex, | ||
int | numGlyphs | ||
) | const |
copy the structure items, adjusting the glyphs arrays to the right subarrays. the width of the returned QTextItemInt is not adjusted, for speed reasons
Definition at line 3131 of file qtextengine.cpp.
Referenced by QPainter::drawTextItem().
QFixed QTextItemInt::ascent |
Definition at line 324 of file qtextengine_p.h.
Referenced by QTextItem::ascent(), QFontEngineXLFD::bitmapForGlyphs(), QEmulationPaintEngine::drawTextItem(), and QPdfEnginePrivate::drawTextItem().
const QTextCharFormat QTextItemInt::charFormat |
Definition at line 330 of file qtextengine_p.h.
Referenced by QPdfEnginePrivate::drawTextItem(), and initWithScriptItem().
const QChar* QTextItemInt::chars |
Definition at line 332 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QTextLine::draw(), draw_text_item_win(), drawMenuText(), QPainter::drawText(), QWin32PrintEngine::drawTextItem(), QPicturePaintEngine::drawTextItem(), QGL2PaintEngineEx::drawTextItem(), QOpenGLPaintEngine::drawTextItem(), QSvgPaintEngine::drawTextItem(), QRasterPaintEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), QStaticTextPrivate::get(), midItem(), QTextItemIntCopy::QTextItemIntCopy(), QTextItem::text(), and QTextItemIntCopy::~QTextItemIntCopy().
QFixed QTextItemInt::descent |
Definition at line 323 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QTextItem::descent(), QEmulationPaintEngine::drawTextItem(), and QPdfEnginePrivate::drawTextItem().
const QFont* QTextItemInt::f |
Definition at line 334 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), draw_text_item_win(), QTextItem::font(), initWithScriptItem(), QTextItemInt(), and QTextItemIntCopy::QTextItemIntCopy().
RenderFlags QTextItemInt::flags |
Definition at line 327 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QFontEngineBox::boundingBox(), QProxyFontEngine::canRender(), QFontEngineMac::draw(), QFontEngineQPF::draw(), QFontEngineQPF1::draw(), draw_text_item_win(), QPaintEnginePrivate::drawBoxTextItem(), QRasterPaintEngine::drawCachedGlyphs(), QX11PaintEngine::drawFreetype(), QGL2PaintEngineEx::drawTextItem(), QOpenGLPaintEngine::drawTextItem(), QVGPaintEngine::drawTextItem(), QPaintEngine::drawTextItem(), QRasterPaintEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), QX11PaintEngine::drawXLFD(), QStaticTextPrivate::get(), and QTextItem::renderFlags().
QFontEngine* QTextItemInt::fontEngine |
Definition at line 337 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QFontEngineBox::boundingBox(), draw_text_item_win(), QPaintEnginePrivate::drawBoxTextItem(), QRasterPaintEngine::drawCachedGlyphs(), QX11PaintEngine::drawFreetype(), QPainterPrivate::drawGlyphs(), QWin32PrintEngine::drawTextItem(), QCoreGraphicsPaintEngine::drawTextItem(), QX11PaintEngine::drawTextItem(), QGL2PaintEngineEx::drawTextItem(), QOpenGLPaintEngine::drawTextItem(), QVGPaintEngine::drawTextItem(), QPdfEnginePrivate::drawTextItem(), QPaintEngine::drawTextItem(), QRasterPaintEngine::drawTextItem(), QPdfBaseEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), QX11PaintEngine::drawXLFD(), QStaticTextPrivate::get(), midItem(), QTextItemInt(), QTextItemIntCopy::QTextItemIntCopy(), and QTextItemIntCopy::~QTextItemIntCopy().
QGlyphLayout QTextItemInt::glyphs |
Definition at line 336 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QFontEngineBox::boundingBox(), QProxyFontEngine::canRender(), QFontEngineMac::draw(), QFontEngineQPF::draw(), QFontEngineQPF1::draw(), draw_text_item_win(), QPaintEnginePrivate::drawBoxTextItem(), QRasterPaintEngine::drawCachedGlyphs(), QX11PaintEngine::drawFreetype(), QPainterPrivate::drawGlyphs(), drawMenuText(), QPainter::drawText(), QCoreGraphicsPaintEngine::drawTextItem(), QGL2PaintEngineEx::drawTextItem(), QOpenGLPaintEngine::drawTextItem(), QVGPaintEngine::drawTextItem(), QPaintEngine::drawTextItem(), QRasterPaintEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), QX11PaintEngine::drawXLFD(), QStaticTextPrivate::get(), midItem(), QTextItemIntCopy::QTextItemIntCopy(), and QTextItemIntCopy::~QTextItemIntCopy().
bool QTextItemInt::justified |
Definition at line 328 of file qtextengine_p.h.
Referenced by QPicturePaintEngine::drawTextItem(), QPaintBufferEngine::drawTextItem(), and QPainterReplayer::process().
const unsigned short* QTextItemInt::logClusters |
Definition at line 333 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QTextLine::draw(), drawMenuText(), QPainter::drawText(), QWin32PrintEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), midItem(), QTextItemIntCopy::QTextItemIntCopy(), and QTextItemIntCopy::~QTextItemIntCopy().
int QTextItemInt::num_chars |
Definition at line 331 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QTextLine::draw(), drawMenuText(), QPainter::drawText(), QWin32PrintEngine::drawTextItem(), QGL2PaintEngineEx::drawTextItem(), QOpenGLPaintEngine::drawTextItem(), QSvgPaintEngine::drawTextItem(), QRasterPaintEngine::drawTextItem(), QPdfBaseEnginePrivate::drawTextItem(), QStaticTextPrivate::get(), midItem(), QTextItemIntCopy::QTextItemIntCopy(), and QTextItem::text().
QTextCharFormat::UnderlineStyle QTextItemInt::underlineStyle |
Definition at line 329 of file qtextengine_p.h.
Referenced by drawMenuText(), and initWithScriptItem().
QFixed QTextItemInt::width |
Definition at line 325 of file qtextengine_p.h.
Referenced by QFontEngineXLFD::bitmapForGlyphs(), QTextLine::draw(), drawMenuText(), QPainter::drawText(), QEmulationPaintEngine::drawTextItem(), QPicturePaintEngine::drawTextItem(), QPdfEnginePrivate::drawTextItem(), QPaintBufferEngine::drawTextItem(), QPainter::drawTextItem(), QPainterReplayer::process(), and QTextItem::width().