Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDirectFbTextureGlyphCache Class Reference

#include <qdirectfbblitter.h>

Inheritance diagram for QDirectFbTextureGlyphCache:
Collaboration diagram for QDirectFbTextureGlyphCache:

Public Member Functions

 QDirectFbTextureGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix)
void resizeTextureData (int width, int height) override
IDirectFBSurface * sourceSurface ()
Public Member Functions inherited from QImageTextureGlyphCache
 QImageTextureGlyphCache (QFontEngine::GlyphFormat format, const QTransform &matrix, const QColor &color=QColor())
 ~QImageTextureGlyphCache ()
virtual void createTextureData (int width, int height) override
virtual void fillTexture (const Coord &c, glyph_t glyph, const QFixedPoint &subPixelPosition) override
const QImageimage () 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 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

Additional Inherited Members

Public Attributes inherited from QTextureGlyphCache
QHash< GlyphAndSubPixelPosition, Coordcoords
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
QFontEnginem_current_fontengine
QHash< GlyphAndSubPixelPosition, Coordm_pendingGlyphs
int m_w
int m_h
int m_cx
int m_cy
int m_currentRowHeight

Detailed Description

Definition at line 89 of file qdirectfbblitter.h.

Constructor & Destructor Documentation

◆ QDirectFbTextureGlyphCache()

QDirectFbTextureGlyphCache::QDirectFbTextureGlyphCache ( QFontEngine::GlyphFormat format,
const QTransform & matrix )
inline

Definition at line 92 of file qdirectfbblitter.h.

References QDirectFbTextureGlyphCache().

Referenced by QDirectFbTextureGlyphCache().

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

Member Function Documentation

◆ resizeTextureData()

void QDirectFbTextureGlyphCache::resizeTextureData ( int width,
int height )
overridevirtual

Reimplemented from QImageTextureGlyphCache.

Definition at line 426 of file qdirectfbblitter.cpp.

◆ sourceSurface()

IDirectFBSurface * QDirectFbTextureGlyphCache::sourceSurface ( )

Definition at line 432 of file qdirectfbblitter.cpp.


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