44 #if !defined(QT_NO_RAWFONT) 236 return glyphPositions;
364 #endif // QT_NO_RAWFONT
bool operator==(const QGlyphRun &other) const
Compares other to this QGlyphRun object.
QGlyphRun()
Constructs an empty QGlyphRun object.
bool overline() const
Returns true if this QGlyphRun should be painted with an overline decoration.
void setStrikeOut(bool strikeOut)
Indicates that this QGlyphRun should be painted with an strike out decoration if strikeOut is true...
#define QT_END_NAMESPACE
This macro expands to.
~QGlyphRun()
Destroys the QGlyphRun.
void setUnderline(bool underline)
Indicates that this QGlyphRun should be painted with an underline decoration if underline is true...
QExplicitlySharedDataPointer< QGlyphRunPrivate > d
void setPositions(const QVector< QPointF > &positions)
Sets the positions of the edge of the baseline for each glyph in this set of glyph indexes to positio...
The QPointF class defines a point in the plane using floating point precision.
QVector< quint32 > glyphIndexes
QVector< QPointF > positions() const
Returns the position of the edge of the baseline for each glyph in this set of glyph indexes...
const quint32 * glyphIndexData
#define QT_BEGIN_NAMESPACE
This macro expands to.
void clear()
Removes all the elements from the vector and releases the memory used by the vector.
QVector< quint32 > glyphIndexes() const
Returns the glyph indexes for this QGlyphRun object.
The QGlyphRun class provides direct access to the internal glyphs in a font.
QRawFont rawFont() const
Returns the font selected for this QGlyphRun object.
const QPointF * glyphPositionData
void * qMemCopy(void *dest, const void *src, size_t n)
void clear()
Clears all data in the QGlyphRun object.
bool underline() const
Returns true if this QGlyphRun should be painted with an underline decoration.
void setOverline(bool overline)
Indicates that this QGlyphRun should be painted with an overline decoration if overline is true...
The QRawFont class provides access to a single physical instance of a font.
void setRawData(const quint32 *glyphIndexArray, const QPointF *glyphPositionArray, int size)
Sets the glyph indexes and positions of this QGlyphRun to use the first size elements in the arrays g...
QVector< QPointF > glyphPositions
int glyphPositionDataSize
void detach()
If the shared data object's reference count is greater than 1, this function creates a deep copy of t...
T * data()
Returns a pointer to the data stored in the vector.
const T * constData() const
Returns a const pointer to the data stored in the vector.
int size() const
Returns the number of items in the vector.
bool strikeOut() const
Returns true if this QGlyphRun should be painted with a strike out decoration.
QGlyphRun & operator=(const QGlyphRun &other)
Assigns other to this QGlyphRun object.
void setGlyphIndexes(const QVector< quint32 > &glyphIndexes)
Set the glyph indexes for this QGlyphRun object to glyphIndexes.
void setRawFont(const QRawFont &rawFont)
Sets the font specified by rawFont to be the font used to look up the glyph indexes.