Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qfontengine_p.h>
Protected Member Functions | |
QFontEngineBox (Type type, int size) | |
Protected Member Functions inherited from QFontEngine | |
QFontEngine (Type type) | |
QFixed | firstLeftBearing (const QGlyphLayout &glyphs) |
QFixed | lastRightBearing (const QGlyphLayout &glyphs) |
QFixed | calculatedCapHeight () const |
virtual void | initializeHeightMetrics () const |
bool | processHheaTable () const |
bool | processOS2Table () const |
Friends | |
class | QFontPrivate |
Definition at line 398 of file qfontengine_p.h.
QFontEngineBox::QFontEngineBox | ( | int | size | ) |
Definition at line 1522 of file qfontengine.cpp.
References QFontEngineBox(), and QFontEngine::cache_cost.
Referenced by QFontEngineBox(), QFontEngineBox(), and cloneWithSize().
QFontEngineBox::~QFontEngineBox | ( | ) |
Definition at line 1536 of file qfontengine.cpp.
|
explicitprotected |
Definition at line 1529 of file qfontengine.cpp.
References QFontEngineBox(), and QFontEngine::cache_cost.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1576 of file qfontengine.cpp.
References QTransform::fromTranslate(), QFontEngine::getGlyphPositions(), QGlyphLayout::numGlyphs, and positions.
Create a qimage with the alpha values for the glyph. Returns an image indexed_8 with index values ranging from 0=fully transparent to 255=opaque
Reimplemented from QFontEngine.
Definition at line 1669 of file qfontengine.cpp.
References QImage::Format_Alpha8, and i.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1638 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1591 of file qfontengine.cpp.
References QGlyphLayout::numGlyphs, and glyph_metrics_t::width.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1627 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1664 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1643 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1632 of file qfontengine.cpp.
References QFontEngineBox().
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1648 of file qfontengine.cpp.
void QFontEngineBox::draw | ( | QPaintEngine * | p, |
qreal | x, | ||
qreal | y, | ||
const QTextItemInt & | si ) |
Definition at line 1600 of file qfontengine.cpp.
References QPainter::drawRect(), QTransform::fromTranslate(), QFontEngine::lineThickness(), Qt::NoBrush, painter, QPainter::pen(), positions, QPainter::restore(), QPainter::save(), QPainter::setBrush(), QPainter::setPen(), and QPen::setWidthF().
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1653 of file qfontengine.cpp.
References QFixed::ceil(), and QFixed::fromReal().
|
overridevirtual |
Implements QFontEngine.
Definition at line 1659 of file qfontengine.cpp.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 420 of file qfontengine_p.h.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 421 of file qfontengine_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1570 of file qfontengine.cpp.
References QGlyphLayout::advances, i, and QGlyphLayout::numGlyphs.
Referenced by stringToCMap().
|
inline |
Definition at line 426 of file qfontengine_p.h.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1546 of file qfontengine.cpp.
References QFontEngine::GlyphIndicesOnly, QGlyphLayout::glyphs, it, QGlyphLayout::numGlyphs, Q_ASSERT, recalcAdvances(), and str.
|
friend |
Definition at line 432 of file qfontengine_p.h.