Qt 4.8
|
#include <qtextureglyphcache_p.h>
Public Functions | |
virtual void | createTextureData (int width, int height) |
virtual void | fillTexture (const Coord &c, glyph_t glyph, QFixed subPixelPosition) |
virtual int | glyphMargin () const |
const QImage & | image () const |
QImageTextureGlyphCache (QFontEngineGlyphCache::Type type, const QTransform &matrix) | |
virtual void | resizeTextureData (int width, int height) |
Public Functions inherited from QTextureGlyphCache | |
void | createCache (int width, int height) |
void | fillInPendingGlyphs () |
virtual int | glyphPadding () const |
bool | isNull () const |
virtual int | maxTextureHeight () const |
virtual int | maxTextureWidth () const |
bool | populate (QFontEngine *fontEngine, int numGlyphs, const glyph_t *glyphs, const QFixedPoint *positions) |
QTextureGlyphCache (QFontEngineGlyphCache::Type type, const QTransform &matrix) | |
void | resizeCache (int width, int height) |
QFixed | subPixelPositionForX (QFixed x) const |
QImage | textureMapForGlyph (glyph_t g, QFixed subPixelPosition) const |
virtual | ~QTextureGlyphCache () |
Public Functions inherited from QFontEngineGlyphCache | |
Type | cacheType () const |
QFontEngineGlyphCache (const QTransform &matrix, Type type) | |
virtual | ~QFontEngineGlyphCache () |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
QImage | m_image |
Additional Inherited Members | |
Public Types inherited from QFontEngineGlyphCache | |
enum | Type { Raster_RGBMask, Raster_A8, Raster_Mono } |
Public Variables inherited from QTextureGlyphCache | |
QHash< GlyphAndSubPixelPosition, Coord > | coords |
Public Variables inherited from QFontEngineGlyphCache | |
QTransform | m_transform |
QFontEngineGlyphCache::Type | m_type |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Protected Functions inherited from QTextureGlyphCache | |
int | calculateSubPixelPositionCount (glyph_t) const |
Protected Variables inherited from QTextureGlyphCache | |
QFontEngine * | m_current_fontengine |
int | m_currentRowHeight |
int | m_cx |
int | m_cy |
int | m_h |
QHash< GlyphAndSubPixelPosition, Coord > | m_pendingGlyphs |
int | m_subPixelPositionCount |
int | m_w |
Definition at line 171 of file qtextureglyphcache_p.h.
|
inline |
Definition at line 174 of file qtextureglyphcache_p.h.
|
virtual |
Implements QTextureGlyphCache.
Reimplemented in QGLTextureGlyphCache.
Definition at line 347 of file qtextureglyphcache.cpp.
Referenced by QGLTextureGlyphCache::createTextureData().
|
virtual |
Implements QTextureGlyphCache.
Reimplemented in QGLTextureGlyphCache.
Definition at line 377 of file qtextureglyphcache.cpp.
Referenced by QGLTextureGlyphCache::fillTexture().
|
virtual |
Reimplemented from QTextureGlyphCache.
Definition at line 368 of file qtextureglyphcache.cpp.
Referenced by QGL2PaintEngineExPrivate::drawCachedGlyphs(), and QRasterPaintEngine::drawCachedGlyphs().
|
inline |
Definition at line 181 of file qtextureglyphcache_p.h.
Referenced by QGLTextureGlyphCache::createTextureData(), QRasterPaintEngine::drawCachedGlyphs(), QGLTextureGlyphCache::fillTexture(), and QGLTextureGlyphCache::resizeTextureData().
|
virtual |
Implements QTextureGlyphCache.
Reimplemented in QGLTextureGlyphCache.
Definition at line 342 of file qtextureglyphcache.cpp.
Referenced by QGLTextureGlyphCache::resizeTextureData().
|
private |
Definition at line 184 of file qtextureglyphcache_p.h.