Qt 4.8
Public Functions | Public Variables | List of all members
QScriptItem Struct Reference

#include <qtextengine_p.h>

Public Functions

QFixed height () const
 
 QScriptItem ()
 
 QScriptItem (int p, const QScriptAnalysis &a)
 

Public Variables

QScriptAnalysis analysis
 
QFixed ascent
 
QFixed descent
 
int glyph_data_offset
 
QFixed leading
 
unsigned short num_glyphs
 
int position
 
QFixed width
 

Detailed Description

Definition at line 348 of file qtextengine_p.h.

Constructors and Destructors

◆ QScriptItem() [1/2]

QScriptItem::QScriptItem ( )
inline

Definition at line 350 of file qtextengine_p.h.

351  : position(0),
352  num_glyphs(0), descent(-1), ascent(-1), leading(-1), width(-1),
353  glyph_data_offset(0) {}
unsigned short num_glyphs
QFixed descent
QFixed leading
int glyph_data_offset

◆ QScriptItem() [2/2]

QScriptItem::QScriptItem ( int  p,
const QScriptAnalysis a 
)
inline

Definition at line 354 of file qtextengine_p.h.

355  : position(p), analysis(a),
356  num_glyphs(0), descent(-1), ascent(-1), leading(-1), width(-1),
357  glyph_data_offset(0) {}
unsigned short num_glyphs
QFixed descent
QFixed leading
int glyph_data_offset
QScriptAnalysis analysis

Functions

◆ height()

QFixed QScriptItem::height ( ) const
inline

Definition at line 367 of file qtextengine_p.h.

Referenced by QTextLine::draw(), and QTextInlineObject::rect().

367 { return ascent + descent + 1; }
QFixed descent

Properties

◆ analysis

QScriptAnalysis QScriptItem::analysis

◆ ascent

QFixed QScriptItem::ascent

◆ descent

QFixed QScriptItem::descent

◆ glyph_data_offset

int QScriptItem::glyph_data_offset

◆ leading

QFixed QScriptItem::leading

◆ num_glyphs

unsigned short QScriptItem::num_glyphs

◆ position

int QScriptItem::position

◆ width

QFixed QScriptItem::width

The documentation for this struct was generated from the following file: