Qt 4.8
Classes | Macros | Typedefs | Functions
qtextureglyphcache_p.h File Reference
#include <qhash.h>
#include <qimage.h>
#include <qobject.h>
#include <qtransform.h>
#include <private/qfontengineglyphcache_p.h>

Go to the source code of this file.

Classes

class  QImageTextureGlyphCache
 
class  QTextureGlyphCache
 
struct  QTextureGlyphCache::Coord
 
struct  QTextureGlyphCache::GlyphAndSubPixelPosition
 

Macros

#define QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH   256
 

Typedefs

typedef unsigned int glyph_t
 

Functions

uint qHash (const QTextureGlyphCache::GlyphAndSubPixelPosition &g)
 

Macro Definition Documentation

◆ QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH

#define QT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH   256

Typedef Documentation

◆ glyph_t

typedef unsigned int glyph_t

Definition at line 71 of file qtextureglyphcache_p.h.

Function Documentation

◆ qHash()

Definition at line 165 of file qtextureglyphcache_p.h.

166 {
167  return (g.glyph << 8) | (g.subPixelPosition * 10).round().toInt();
168 }