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>.
Loading...
Searching...
No Matches
QRawFontPrivate Class Reference

#include <qrawfont_p.h>

+ Collaboration diagram for QRawFontPrivate:

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 QRawFontPrivateget (const QRawFont &font)
 

Public Attributes

QFontEnginefontEngine
 
QFont::HintingPreference hintingPreference
 
QAtomicInt ref
 

Detailed Description

Definition at line 30 of file qrawfont_p.h.

Constructor & Destructor Documentation

◆ QRawFontPrivate() [1/2]

QRawFontPrivate::QRawFontPrivate ( )
inline

Definition at line 33 of file qrawfont_p.h.

◆ QRawFontPrivate() [2/2]

QRawFontPrivate::QRawFontPrivate ( const QRawFontPrivate & other)
inline

Definition at line 39 of file qrawfont_p.h.

References QThread::currentThread(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ ~QRawFontPrivate()

QRawFontPrivate::~QRawFontPrivate ( )
inline

Definition at line 51 of file qrawfont_p.h.

References Q_ASSERT.

Member Function Documentation

◆ cleanUp()

void QRawFontPrivate::cleanUp ( )
inline

Definition at line 59 of file qrawfont_p.h.

References QFont::PreferDefaultHinting.

Referenced by QRawFont::loadFromData().

+ Here is the caller graph for this function:

◆ get()

static QRawFontPrivate * QRawFontPrivate::get ( const QRawFont & font)
inlinestatic

Definition at line 104 of file qrawfont_p.h.

References QExplicitlySharedDataPointer< T >::data(), and font.

Referenced by QSGRenderContext::FontKey::FontKey(), QSGDistanceFieldGlyphCache::QSGDistanceFieldGlyphCache(), QSGOpenVGFontGlyphCache::QSGOpenVGFontGlyphCache(), QSGInternalTextNode::addGlyphs(), QPainter::drawGlyphRun(), glyphRunWithInfo(), QSGTextMaskMaterial::populate(), QRawFont::qHash(), and QSGDefaultGlyphNode::update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isValid()

◆ loadFromData()

void QRawFontPrivate::loadFromData ( const QByteArray & fontData,
qreal pixelSize,
QFont::HintingPreference hintingPreference )

Definition at line 786 of file qrawfont.cpp.

References fontEngine, hintingPreference, QGuiApplicationPrivate::platformIntegration(), Q_ASSERT, and setFontEngine().

Referenced by QRawFont::loadFromData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setFontEngine()

void QRawFontPrivate::setFontEngine ( QFontEngine * engine)
inline

Definition at line 73 of file qrawfont_p.h.

References QThread::currentThread(), engine, and Q_ASSERT.

Referenced by QRawFont::fromFont(), loadFromData(), and QRawFont::setPixelSize().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ fontEngine

◆ hintingPreference

QFont::HintingPreference QRawFontPrivate::hintingPreference

◆ ref

QAtomicInt QRawFontPrivate::ref

Definition at line 108 of file qrawfont_p.h.


The documentation for this class was generated from the following files: