Qt 4.8
Classes | Typedefs | Functions
qtextengine_p.h File Reference
#include "QtCore/qglobal.h"
#include "QtCore/qstring.h"
#include "QtCore/qvarlengtharray.h"
#include "QtCore/qnamespace.h"
#include "QtGui/qtextlayout.h"
#include "private/qtextformat_p.h"
#include "private/qfont_p.h"
#include "QtCore/qvector.h"
#include "QtGui/qpaintengine.h"
#include "QtGui/qtextobject.h"
#include "QtGui/qtextoption.h"
#include "QtGui/qtextcursor.h"
#include "QtCore/qset.h"
#include "QtCore/qdebug.h"
#include "private/qtextdocument_p.h"
#include "private/qharfbuzz_p.h"
#include "private/qfixed_p.h"
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  glyph_metrics_t
 
struct  QGlyphJustification
 
struct  QGlyphLayout
 
struct  QGlyphLayoutArray< N >
 
struct  QGlyphLayoutInstance
 
struct  QScriptAnalysis
 
struct  QScriptItem
 
struct  QScriptLine
 
class  QStackTextEngine
 
class  QTextEngine
 
struct  QTextEngine::FontEngineCache
 
struct  QTextEngine::LayoutData
 
struct  QTextEngine::SpecialData
 
class  QTextItemInt
 Internal QTextItem. More...
 
struct  QTextLineItemIterator
 
class  QVarLengthGlyphLayoutArray
 

Typedefs

typedef QVector< QScriptItemQScriptItemArray
 
typedef QVector< QScriptLineQScriptLineArray
 

Functions

 Q_DECLARE_TYPEINFO (glyph_metrics_t, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (QScriptAnalysis, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (QGlyphJustification, Q_PRIMITIVE_TYPE)
 
 Q_DECLARE_TYPEINFO (QScriptItem, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QScriptLine, Q_PRIMITIVE_TYPE)
 
bool qIsControlChar (ushort uc)
 

Typedef Documentation

◆ QScriptItemArray

Definition at line 373 of file qtextengine_p.h.

◆ QScriptLineArray

Definition at line 416 of file qtextengine_p.h.

Function Documentation

◆ Q_DECLARE_TYPEINFO() [1/5]

Q_DECLARE_TYPEINFO ( glyph_metrics_t  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/5]

Q_DECLARE_TYPEINFO ( QScriptAnalysis  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [3/5]

Q_DECLARE_TYPEINFO ( QGlyphJustification  ,
Q_PRIMITIVE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [4/5]

Q_DECLARE_TYPEINFO ( QScriptItem  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [5/5]

Q_DECLARE_TYPEINFO ( QScriptLine  ,
Q_PRIMITIVE_TYPE   
)

◆ qIsControlChar()

bool qIsControlChar ( ushort  uc)
inline

Definition at line 340 of file qtextengine_p.h.

Referenced by heuristicSetGlyphAttributes().

341 {
342  return uc >= 0x200b && uc <= 0x206f
343  && (uc <= 0x200f /* ZW Space, ZWNJ, ZWJ, LRM and RLM */
344  || (uc >= 0x2028 && uc <= 0x202f /* LS, PS, LRE, RLE, PDF, LRO, RLO, NNBSP */)
345  || uc >= 0x206a /* ISS, ASS, IAFS, AFS, NADS, NODS */);
346 }