Qt 4.8
Classes | Macros | Typedefs | Functions
qfontengine_p.h File Reference
#include "QtCore/qglobal.h"
#include "QtCore/qatomic.h"
#include <QtCore/qvarlengtharray.h>
#include <QtCore/QLinkedList>
#include "private/qtextengine_p.h"
#include "private/qfont_p.h"
#include "QtCore/qt_windows.h"
#include "private/qt_mac_p.h"
#include "QtCore/qmap.h"
#include "QtCore/qcache.h"
#include "private/qcore_mac_p.h"
#include <private/qfontengineglyphcache_p.h>
#include "private/qfontengine_win_p.h"

Go to the source code of this file.

Classes

class  QFontEngine
 
struct  QFontEngine::FaceId
 
struct  QFontEngine::GlyphCacheEntry
 
struct  QFontEngine::KernPair
 
struct  QFontEngine::Properties
 
class  QFontEngineBox
 
class  QFontEngineMulti
 
class  QFontEngineQPF1
 
class  QTestFontEngine
 

Macros

#define MAKE_TAG(ch1, ch2, ch3, ch4)
 

Typedefs

typedef unsigned int glyph_t
 

Functions

bool operator== (const QFontEngine::FaceId &f1, const QFontEngine::FaceId &f2)
 
uint qHash (const QFontEngine::FaceId &f)
 

Macro Definition Documentation

◆ MAKE_TAG

#define MAKE_TAG (   ch1,
  ch2,
  ch3,
  ch4 
)
Value:
(\
(((quint32)(ch1)) << 24) | \
(((quint32)(ch2)) << 16) | \
(((quint32)(ch3)) << 8) | \
((quint32)(ch4)) \
)
unsigned int quint32
Definition: qglobal.h:938

Definition at line 87 of file qfontengine_p.h.

Typedef Documentation

◆ glyph_t

typedef unsigned int glyph_t

Definition at line 76 of file qfontengine_p.h.

Function Documentation

◆ operator==()

bool operator== ( const QFontEngine::FaceId f1,
const QFontEngine::FaceId f2 
)
inline

Definition at line 292 of file qfontengine_p.h.

293 {
294  return (f1.index == f2.index) && (f1.encoding == f2.encoding) && (f1.filename == f2.filename);
295 }

◆ qHash()

uint qHash ( const QFontEngine::FaceId f)
inline

Definition at line 297 of file qfontengine_p.h.

298 {
299  return qHash((f.index << 16) + f.encoding) + qHash(f.filename + f.uuid);
300 }
uint qHash(const QUrl &url)
Definition: qurl.h:285