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
QFontEngineGlyphCache Class Reference

#include <qfontengineglyphcache_p.h>

+ Inheritance diagram for QFontEngineGlyphCache:
+ Collaboration diagram for QFontEngineGlyphCache:

Public Member Functions

 QFontEngineGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix, const QColor &color=QColor())
 
virtual ~QFontEngineGlyphCache ()
 
QFontEngine::GlyphFormat glyphFormat () const
 
const QTransformtransform () const
 
const QColorcolor () const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

QFontEngine::GlyphFormat m_format
 
QTransform m_transform
 
QColor m_color
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 29 of file qfontengineglyphcache_p.h.

Constructor & Destructor Documentation

◆ QFontEngineGlyphCache()

QFontEngineGlyphCache::QFontEngineGlyphCache ( QFontEngine::GlyphFormat format,
const QTransform & matrix,
const QColor & color = QColor() )
inline

Definition at line 32 of file qfontengineglyphcache_p.h.

References QFontEngine::Format_None, and Q_ASSERT.

◆ ~QFontEngineGlyphCache()

QT_BEGIN_NAMESPACE QFontEngineGlyphCache::~QFontEngineGlyphCache ( )
virtual

Definition at line 9 of file qfontengineglyphcache.cpp.

Member Function Documentation

◆ color()

const QColor & QFontEngineGlyphCache::color ( ) const
inline

Definition at line 44 of file qfontengineglyphcache_p.h.

Referenced by QTextureGlyphCache::textureMapForGlyph().

+ Here is the caller graph for this function:

◆ glyphFormat()

QFontEngine::GlyphFormat QFontEngineGlyphCache::glyphFormat ( ) const
inline

Definition at line 42 of file qfontengineglyphcache_p.h.

Referenced by QSGTextMaskMaterial::setColor().

+ Here is the caller graph for this function:

◆ transform()

const QTransform & QFontEngineGlyphCache::transform ( ) const
inline

Definition at line 43 of file qfontengineglyphcache_p.h.

Referenced by QTextureGlyphCache::populate().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_color

QColor QFontEngineGlyphCache::m_color

Definition at line 48 of file qfontengineglyphcache_p.h.

◆ m_format

◆ m_transform

QTransform QFontEngineGlyphCache::m_transform

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