![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qfontengine_p.h>
Public Member Functions | |
| QFontEngineBox (int sizesize) | |
| ~QFontEngineBox () | |
| virtual glyph_t | glyphIndex (uint ucs4) const override |
| virtual int | stringToCMap (const QChar *str, int lenlen, QGlyphLayout *glyphs, int *nglyphs, ShaperFlags flagsflags) const override |
| virtual void | recalcAdvances (QGlyphLayout *, ShaperFlags) const override |
| void | draw (QPaintEngine *pp, qreal xx, qreal yy, const QTextItemInt &si) |
| virtual void | addOutlineToPath (qreal xx, qreal yy, const QGlyphLayout &glyphs, QPainterPath *pathpath, QTextItem::RenderFlags flagsflags) override |
| virtual glyph_metrics_t | boundingBox (const QGlyphLayout &glyphs) override |
| virtual glyph_metrics_t | boundingBox (glyph_t glyph) override |
| virtual QFontEngine * | cloneWithSize (qreal pixelSize) const override |
| virtual QFixed | emSquareSize () const override |
| virtual QFixed | ascent () const override |
| virtual QFixed | capHeight () const override |
| virtual QFixed | descent () const override |
| virtual QFixed | leading () const override |
| virtual qreal | maxCharWidth () const override |
| virtual qreal | minLeftBearing () const override |
| virtual qreal | minRightBearing () const override |
| virtual QImage | alphaMapForGlyph (glyph_t) override |
| virtual bool | canRender (const QChar *stringstring, int lenlen) const override |
| int | size () const |
| Public Member Functions inherited from QFontEngine | |
| virtual | ~QFontEngine () |
| Type | type () const |
| virtual Properties | properties () const |
| virtual void | getUnscaledGlyph (glyph_t glyph, QPainterPath *pathpath, glyph_metrics_t *metricsmetrics) |
| QByteArray | getSfntTable (uint tag) const |
| virtual bool | getSfntTableData (uint tag, uchar *bufferbuffer, uint *lengthlength) const |
| virtual FaceId | faceId () const |
| virtual int | synthesized () const |
| bool | supportsSubPixelPositions () const |
| virtual bool | supportsHorizontalSubPixelPositions () const |
| virtual bool | supportsVerticalSubPixelPositions () const |
| virtual QFixedPoint | subPixelPositionFor (const QFixedPoint &position) const |
| QFixed | subPixelPositionForX (QFixed xx) const |
| bool | preferTypoLineMetrics () const |
| bool | isColorFont () const |
| virtual void | doKerning (QGlyphLayout *, ShaperFlags) const |
| virtual void | addGlyphsToPath (glyph_t *glyphs, QFixedPoint *positions, int nglyphs, QPainterPath *pathpath, QTextItem::RenderFlags flagsflags) |
| void | getGlyphPositions (const QGlyphLayout &glyphs, const QTransform &matrixmatrix, QTextItem::RenderFlags flagsflags, QVarLengthArray< glyph_t > &glyphs_out, QVarLengthArray< QFixedPoint > &positions) |
| void | addBitmapFontToPath (qreal xx, qreal yy, const QGlyphLayout &, QPainterPath *, QTextItem::RenderFlags) |
| virtual QImage | alphaMapForGlyph (glyph_t glyph, const QFixedPoint &subPixelPosition) |
| virtual QImage | alphaMapForGlyph (glyph_t, const QTransform &tt) |
| virtual QImage | alphaMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &tt) |
| virtual QImage | alphaRGBMapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &tt) |
| virtual QImage | bitmapForGlyph (glyph_t, const QFixedPoint &subPixelPosition, const QTransform &tt, const QColor &colorcolor=QColor()) |
| QImage | renderedPathForGlyph (glyph_t glyph, const QColor &colorcolor) |
| qreal | effectivePixelSizeSquared (const QTransform &transformtransform) const |
| bool | glyphTransformExceedsLimit (glyph_t glyph, const QTransform &transformtransform) |
| virtual Glyph * | glyphData (glyph_t glyph, const QFixedPoint &subPixelPosition, GlyphFormat neededFormat, const QTransform &tt) |
| virtual bool | hasInternalCaching () const |
| virtual glyph_metrics_t | alphaMapBoundingBox (glyph_t glyph, const QFixedPoint &, const QTransform &matrixmatrix, GlyphFormat) |
| virtual void | removeGlyphFromCache (glyph_t) |
| virtual glyph_metrics_t | boundingBox (glyph_t glyph, const QTransform &matrixmatrix) |
| glyph_metrics_t | tightBoundingBox (const QGlyphLayout &glyphs, QTextItem::RenderFlags flagsflags) |
| virtual QFixed | xHeight () const |
| virtual QFixed | averageCharWidth () const |
| virtual QFixed | lineThickness () const |
| virtual QFixed | underlinePosition () const |
| virtual void | getGlyphBearings (glyph_t glyph, qreal *leftBearing=nullptr, qreal *rightBearing=nullptr) |
| bool | canRender (uint ucs4) const |
| virtual bool | supportsTransformation (const QTransform &transformtransform) const |
| virtual int | glyphCount () const |
| virtual int | glyphMargin (GlyphFormat formatformat) |
| bool | hasHinting () const |
| virtual Qt::HANDLE | handle () const |
| virtual QList< QFontVariableAxis > | variableAxes () const |
| virtual QString | glyphName (glyph_t indexindex) const |
| virtual glyph_t | findGlyph (QLatin1StringView namename) const |
| void * | harfbuzzFont () const |
| void * | harfbuzzFace () const |
| bool | supportsScript (QChar::Script script) const |
| virtual int | getPointInOutline (glyph_t glyph, int flagsflags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) |
| void | clearGlyphCache (const void *keykey) |
| void | setGlyphCache (const void *keykey, QFontEngineGlyphCache *datadata) |
| QFontEngineGlyphCache * | glyphCache (const void *keykey, GlyphFormat formatformat, const QTransform &transformtransform, const QColor &colorcolor=QColor()) const |
| virtual bool | hasUnreliableGlyphOutline () const |
| virtual bool | expectsGammaCorrectedBlending (QFontEngine::GlyphFormat formatformat) const |
| virtual void | setDefaultHintStyle (HintStyle) |
| void | loadKerningPairs (QFixed scalingFactor) |
Protected Member Functions | |
| QFontEngineBox (Type typetype, int sizesize) | |
| Protected Member Functions inherited from QFontEngine | |
| QFontEngine (Type typetype) | |
| 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 432 of file qfontengine_p.h.
| QFontEngineBox::QFontEngineBox | ( | int | size | ) |
Definition at line 1807 of file qfontengine.cpp.
| QFontEngineBox::~QFontEngineBox | ( | ) |
Definition at line 1821 of file qfontengine.cpp.
|
explicitprotected |
Definition at line 1814 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1861 of file qfontengine.cpp.
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 1954 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1923 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1876 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1912 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1949 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1928 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1917 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1933 of file qfontengine.cpp.
| void QFontEngineBox::draw | ( | QPaintEngine * | p, |
| qreal | x, | ||
| qreal | y, | ||
| const QTextItemInt & | si ) |
Definition at line 1885 of file qfontengine.cpp.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 449 of file qfontengine_p.h.
Implements QFontEngine.
Definition at line 1825 of file qfontengine.cpp.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1938 of file qfontengine.cpp.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1944 of file qfontengine.cpp.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 455 of file qfontengine_p.h.
|
inlineoverridevirtual |
Reimplemented from QFontEngine.
Definition at line 456 of file qfontengine_p.h.
|
overridevirtual |
Reimplemented from QFontEngine.
Definition at line 1855 of file qfontengine.cpp.
|
inline |
Definition at line 461 of file qfontengine_p.h.
|
overridevirtual |
Implements QFontEngine.
Definition at line 1831 of file qfontengine.cpp.
|
friend |
Definition at line 467 of file qfontengine_p.h.