Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QGlyphLayout Struct Reference

#include <qtextengine_p.h>

Inheritance diagram for QGlyphLayout:
Collaboration diagram for QGlyphLayout:

Public Member Functions

 QGlyphLayout ()
 QGlyphLayout (char *address, int totalGlyphs)
QGlyphLayout mid (int position, int n=-1) const
QFixed effectiveAdvance (int item) const
void clear (int first=0, int last=-1)
char * data ()
void copy (QGlyphLayout *other)
void grow (char *address, int totalGlyphs)

Public Attributes

QFixedPointoffsets
glyph_tglyphs
QFixedadvances
QGlyphJustificationjustifications
QGlyphAttributesattributes
int numGlyphs

Static Public Attributes

static constexpr qsizetype SpaceNeeded

Detailed Description

Definition at line 159 of file qtextengine_p.h.

Constructor & Destructor Documentation

◆ QGlyphLayout() [1/2]

QGlyphLayout::QGlyphLayout ( )
inline

Definition at line 173 of file qtextengine_p.h.

References numGlyphs.

◆ QGlyphLayout() [2/2]

QGlyphLayout::QGlyphLayout ( char * address,
int totalGlyphs )
inlineexplicit

Definition at line 175 of file qtextengine_p.h.

References attributes, glyphs, justifications, and numGlyphs.

Referenced by grow().

Here is the caller graph for this function:

Member Function Documentation

◆ clear()

void QGlyphLayout::clear ( int first = 0,
int last = -1 )
inline

Definition at line 206 of file qtextengine_p.h.

References attributes, glyphs, justifications, and numGlyphs.

Referenced by grow().

Here is the caller graph for this function:

◆ copy()

void QGlyphLayout::copy ( QGlyphLayout * other)

Definition at line 2892 of file qtextengine.cpp.

References attributes, glyphs, justifications, and numGlyphs.

◆ data()

char * QGlyphLayout::data ( )
inline

Definition at line 222 of file qtextengine_p.h.

◆ effectiveAdvance()

QFixed QGlyphLayout::effectiveAdvance ( int item) const
inline

Definition at line 203 of file qtextengine_p.h.

◆ grow()

void QGlyphLayout::grow ( char * address,
int totalGlyphs )

Definition at line 2908 of file qtextengine.cpp.

References QGlyphLayout(), attributes, clear(), glyphs, justifications, and numGlyphs.

Here is the call graph for this function:

◆ mid()

QGlyphLayout QGlyphLayout::mid ( int position,
int n = -1 ) const
inline

Definition at line 189 of file qtextengine_p.h.

References attributes, glyphs, justifications, and numGlyphs.

Referenced by applyVisibilityRules().

Here is the caller graph for this function:

Member Data Documentation

◆ advances

QFixed* QGlyphLayout::advances

Definition at line 167 of file qtextengine_p.h.

◆ attributes

◆ glyphs

glyph_t* QGlyphLayout::glyphs

Definition at line 166 of file qtextengine_p.h.

Referenced by QGlyphLayout(), applyVisibilityRules(), clear(), copy(), grow(), mid(), and set().

◆ justifications

QGlyphJustification* QGlyphLayout::justifications

Definition at line 168 of file qtextengine_p.h.

Referenced by QGlyphLayout(), clear(), copy(), grow(), and mid().

◆ numGlyphs

int QGlyphLayout::numGlyphs

Definition at line 171 of file qtextengine_p.h.

Referenced by QGlyphLayout(), QGlyphLayout(), clear(), copy(), grow(), mid(), and set().

◆ offsets

QFixedPoint* QGlyphLayout::offsets

Definition at line 165 of file qtextengine_p.h.

◆ SpaceNeeded

qsizetype QGlyphLayout::SpaceNeeded
staticconstexpr
Initial value:

Definition at line 161 of file qtextengine_p.h.


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