![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qopengltextureglyphcache_p.h>
Public Types | |
| enum | FilterMode { Nearest , Linear } |
Public Member Functions | |
| QOpenGLTextureGlyphCache (QFontEngine::GlyphFormat glyphFormat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QOpenGLTextureGlyphCache () | |
| virtual void | createTextureData (int widthwidth, int heightheight) override |
| virtual void | resizeTextureData (int widthwidth, int heightheight) override |
| virtual void | fillTexture (const Coord &cc, glyph_t glyph, const QFixedPoint &subPixelPosition) override |
| virtual int | glyphPadding () const override |
| virtual int | maxTextureWidth () const override |
| virtual int | maxTextureHeight () const override |
| GLuint | texture () const |
| int | width () const |
| int | height () const |
| void | setPaintEnginePrivate (QOpenGL2PaintEngineExPrivate *pp) |
| const QOpenGLContextGroup * | contextGroup () const |
| int | serialNumber () const |
| FilterMode | filterMode () const |
| void | setFilterMode (FilterMode mm) |
| void | clear () |
| QOpenGL2PaintEngineExPrivate * | paintEnginePrivate () const |
| Public Member Functions inherited from QImageTextureGlyphCache | |
| QImageTextureGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QImageTextureGlyphCache () | |
| const QImage & | image () const |
| Public Member Functions inherited from QTextureGlyphCache | |
| QTextureGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=QColor()) | |
| ~QTextureGlyphCache () | |
| bool | populate (QFontEngine *fontEngine, qsizetype numGlyphsnumGlyphs, const glyph_t *glyphs, const QFixedPoint *positions, QPainter::RenderHints renderHints=QPainter::RenderHints(), bool includeGlyphCacheScale=false) |
| bool | hasPendingGlyphs () const |
| void | fillInPendingGlyphs () |
| virtual void | beginFillTexture () |
| virtual void | endFillTexture () |
| void | createCache (int widthwidth, int heightheight) |
| void | resizeCache (int widthwidth, int heightheight) |
| bool | isNull () const |
| QImage | textureMapForGlyph (glyph_t gg, const QFixedPoint &subPixelPosition) const |
| Public Member Functions inherited from QFontEngineGlyphCache | |
| QFontEngineGlyphCache (QFontEngine::GlyphFormat formatformat, const QTransform &matrixmatrix, const QColor &colorcolor=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 75 of file qopengltextureglyphcache_p.h.
| Enumerator | |
|---|---|
| Nearest | |
| Linear | |
Definition at line 113 of file qopengltextureglyphcache_p.h.
| QOpenGLTextureGlyphCache::QOpenGLTextureGlyphCache | ( | QFontEngine::GlyphFormat | glyphFormat, |
| const QTransform & | matrix, | ||
| const QColor & | color = QColor() ) |
Definition at line 21 of file qopengltextureglyphcache.cpp.
| QOpenGLTextureGlyphCache::~QOpenGLTextureGlyphCache | ( | ) |
Definition at line 52 of file qopengltextureglyphcache.cpp.
| void QOpenGLTextureGlyphCache::clear | ( | ) |
Definition at line 438 of file qopengltextureglyphcache.cpp.
|
inline |
Definition at line 109 of file qopengltextureglyphcache_p.h.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 67 of file qopengltextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 389 of file qopengltextureglyphcache.cpp.
|
inline |
Definition at line 117 of file qopengltextureglyphcache_p.h.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 409 of file qopengltextureglyphcache.cpp.
|
inline |
Definition at line 101 of file qopengltextureglyphcache_p.h.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 426 of file qopengltextureglyphcache.cpp.
|
overridevirtual |
Reimplemented from QTextureGlyphCache.
Definition at line 417 of file qopengltextureglyphcache.cpp.
|
inline |
Definition at line 122 of file qopengltextureglyphcache_p.h.
|
overridevirtual |
Reimplemented from QImageTextureGlyphCache.
Definition at line 241 of file qopengltextureglyphcache.cpp.
|
inline |
Definition at line 111 of file qopengltextureglyphcache_p.h.
|
inline |
Definition at line 118 of file qopengltextureglyphcache_p.h.
|
inline |
Definition at line 107 of file qopengltextureglyphcache_p.h.
|
inline |
Definition at line 90 of file qopengltextureglyphcache_p.h.
|
inline |
Definition at line 96 of file qopengltextureglyphcache_p.h.