![]() |
Qt 6.x
The Qt SDK
|
#include <qrawfont_p.h>
Public Member Functions | |
QRawFontPrivate () | |
QRawFontPrivate (const QRawFontPrivate &other) | |
~QRawFontPrivate () | |
void | cleanUp () |
bool | isValid () const |
void | setFontEngine (QFontEngine *engine) |
void | loadFromData (const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) |
Static Public Member Functions | |
static QRawFontPrivate * | get (const QRawFont &font) |
Public Attributes | |
QFontEngine * | fontEngine |
QFont::HintingPreference | hintingPreference |
QAtomicInt | ref |
Definition at line 30 of file qrawfont_p.h.
|
inline |
Definition at line 33 of file qrawfont_p.h.
|
inline |
Definition at line 39 of file qrawfont_p.h.
References QThread::currentThread(), and Q_ASSERT.
|
inline |
Definition at line 51 of file qrawfont_p.h.
References Q_ASSERT.
|
inline |
Definition at line 59 of file qrawfont_p.h.
References QFont::PreferDefaultHinting.
Referenced by QRawFont::loadFromData().
|
inlinestatic |
Definition at line 104 of file qrawfont_p.h.
References QExplicitlySharedDataPointer< T >::data(), and font.
Referenced by QSGDistanceFieldGlyphCache::QSGDistanceFieldGlyphCache(), QSGOpenVGFontGlyphCache::QSGOpenVGFontGlyphCache(), QQuickTextNode::addGlyphs(), QPainter::drawGlyphRun(), QSGDefaultRenderContext::fontKey(), glyphRunWithInfo(), QSGTextMaskMaterial::populate(), QRawFont::qHash(), and QSGDefaultGlyphNode::update().
|
inline |
Definition at line 65 of file qrawfont_p.h.
References QThread::currentThread(), and Q_ASSERT.
Referenced by QRawFont::advancesForGlyphIndexes(), QRawFont::alphaMapForGlyph(), QRawFont::ascent(), QRawFont::averageCharWidth(), QRawFont::boundingRect(), QRawFont::capHeight(), QRawFont::descent(), QRawFont::familyName(), QRawFont::fontTable(), QRawFont::glyphIndexesForChars(), QRawFont::glyphIndexesForString(), QRawFont::hintingPreference(), QRawFont::isValid(), QRawFont::leading(), QRawFont::lineThickness(), QRawFont::maxCharWidth(), QRawFont::pathForGlyph(), QRawFont::pixelSize(), QRawFont::setPixelSize(), QRawFont::style(), QRawFont::styleName(), QRawFont::supportedWritingSystems(), QRawFont::supportsCharacter(), QRawFont::underlinePosition(), QRawFont::unitsPerEm(), QRawFont::weight(), and QRawFont::xHeight().
void QRawFontPrivate::loadFromData | ( | const QByteArray & | fontData, |
qreal | pixelSize, | ||
QFont::HintingPreference | hintingPreference | ||
) |
Definition at line 770 of file qrawfont.cpp.
References QPlatformIntegration::fontDatabase(), QPlatformFontDatabase::fontEngine(), fontEngine, hintingPreference, QGuiApplicationPrivate::platformIntegration(), Q_ASSERT, and setFontEngine().
Referenced by QRawFont::loadFromData().
|
inline |
Definition at line 73 of file qrawfont_p.h.
References QThread::currentThread(), engine, and Q_ASSERT.
Referenced by QRawFont::fromFont(), glyphRunWithInfo(), loadFromData(), and QRawFont::setPixelSize().
QFontEngine* QRawFontPrivate::fontEngine |
Definition at line 106 of file qrawfont_p.h.
Referenced by QSGDistanceFieldGlyphCache::QSGDistanceFieldGlyphCache(), QSGOpenVGFontGlyphCache::QSGOpenVGFontGlyphCache(), QQuickTextNode::addGlyphs(), QRawFont::advancesForGlyphIndexes(), QRawFont::alphaMapForGlyph(), QRawFont::ascent(), QRawFont::averageCharWidth(), QRawFont::boundingRect(), QRawFont::capHeight(), QRawFont::descent(), QPainter::drawGlyphRun(), QRawFont::familyName(), QTextEngine::fontEngine(), QSGDefaultRenderContext::fontKey(), QRawFont::fontTable(), QRawFont::glyphIndexesForChars(), QRawFont::glyphIndexesForString(), QTextLayout::glyphRuns(), QRawFont::leading(), QRawFont::lineThickness(), loadFromData(), QRawFont::maxCharWidth(), QRawFont::operator==(), QRawFont::pathForGlyph(), QRawFont::pixelSize(), QSGTextMaskMaterial::populate(), QRawFont::setPixelSize(), QRawFont::style(), QRawFont::styleName(), QRawFont::supportsCharacter(), QRawFont::underlinePosition(), QRawFont::unitsPerEm(), QRawFont::weight(), and QRawFont::xHeight().
QFont::HintingPreference QRawFontPrivate::hintingPreference |
Definition at line 107 of file qrawfont_p.h.
Referenced by QRawFont::fromFont(), QRawFont::hintingPreference(), QRawFont::loadFromData(), and loadFromData().
QAtomicInt QRawFontPrivate::ref |
Definition at line 108 of file qrawfont_p.h.