![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qtextureglyphcache_p.h>
Public Member Functions | |
QImageTextureGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix, const QColor &color=QColor()) | |
~QImageTextureGlyphCache () | |
virtual void | createTextureData (int width, int height) override |
virtual void | resizeTextureData (int width, int height) override |
virtual void | fillTexture (const Coord &c, glyph_t glyph, const QFixedPoint &subPixelPosition) override |
const QImage & | image () const |
Public Member Functions inherited from QTextureGlyphCache | |
QTextureGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix, const QColor &color=QColor()) | |
~QTextureGlyphCache () | |
bool | populate (QFontEngine *fontEngine, qsizetype numGlyphs, const glyph_t *glyphs, const QFixedPoint *positions, QPainter::RenderHints renderHints=QPainter::RenderHints(), bool includeGlyphCacheScale=false) |
bool | hasPendingGlyphs () const |
void | fillInPendingGlyphs () |
virtual int | glyphPadding () const |
virtual void | beginFillTexture () |
virtual void | endFillTexture () |
void | createCache (int width, int height) |
void | resizeCache (int width, int height) |
bool | isNull () const |
virtual int | maxTextureWidth () const |
virtual int | maxTextureHeight () const |
QImage | textureMapForGlyph (glyph_t g, const QFixedPoint &subPixelPosition) const |
Public Member Functions inherited from QFontEngineGlyphCache | |
QFontEngineGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix, const QColor &color=QColor()) | |
virtual | ~QFontEngineGlyphCache () |
QFontEngine::GlyphFormat | glyphFormat () const |
const QTransform & | transform () const |
const QColor & | color () 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. | |
QSharedData & | operator= (const QSharedData &)=delete |
~QSharedData ()=default |
Additional Inherited Members | |
Public Attributes inherited from QTextureGlyphCache | |
QHash< GlyphAndSubPixelPosition, Coord > | coords |
Public Attributes inherited from QFontEngineGlyphCache | |
QFontEngine::GlyphFormat | m_format |
QTransform | m_transform |
QColor | m_color |
Public Attributes inherited from QSharedData | |
QAtomicInt | ref |
Protected Member Functions inherited from QTextureGlyphCache | |
int | calculateSubPixelPositionCount (glyph_t) const |
Protected Attributes inherited from QTextureGlyphCache | |
QFontEngine * | m_current_fontengine |
QHash< GlyphAndSubPixelPosition, Coord > | m_pendingGlyphs |
int | m_w |
int | m_h |
int | m_cx |
int | m_cy |
int | m_currentRowHeight |
Definition at line 139 of file qtextureglyphcache_p.h.
|
inline |
Definition at line 142 of file qtextureglyphcache_p.h.
QImageTextureGlyphCache::~QImageTextureGlyphCache | ( | ) |
Definition at line 262 of file qtextureglyphcache.cpp.
|
overridevirtual |
Implements QTextureGlyphCache.
Reimplemented in QOpenGLTextureGlyphCache, and QSGRhiTextureGlyphCache.
Definition at line 273 of file qtextureglyphcache.cpp.
|
overridevirtual |
Implements QTextureGlyphCache.
Reimplemented in QOpenGLTextureGlyphCache, and QSGRhiTextureGlyphCache.
Definition at line 299 of file qtextureglyphcache.cpp.
|
inline |
Definition at line 152 of file qtextureglyphcache_p.h.
|
overridevirtual |
Implements QTextureGlyphCache.
Reimplemented in QDirectFbTextureGlyphCache, QOpenGLTextureGlyphCache, and QSGRhiTextureGlyphCache.
Definition at line 266 of file qtextureglyphcache.cpp.