42 #ifndef QSTATICTEXT_P_H 43 #define QSTATICTEXT_P_H 58 #include <private/qtextureglyphcache_p.h> 59 #include <QtGui/qcolor.h> 82 userDataNeedsUpdate(0), m_fontEngine(0), m_userData(0) {}
111 if (m_userData == newUserData)
114 if (m_userData != 0 && !m_userData->ref.deref())
117 m_userData = newUserData;
170 needsRelayout =
true;
203 #endif // QSTATICTEXT_P_H The QPainter class performs low-level painting on widgets and other paint devices.
The QColor class provides colors based on RGB, HSV or CMYK values.
void setUserData(QStaticTextUserData *newUserData)
The QStaticText class enables optimized drawing of text when the text and its layout is updated rarel...
#define QT_END_NAMESPACE
This macro expands to.
QFontEngine * fontEngine() const
The QAtomicInt class provides platform-independent atomic operations on integers. ...
QFixedPoint * positionPool
QFixedPoint * glyphPositions
unsigned char untransformedCoordinates
The QPointF class defines a point in the plane using floating point precision.
void operator=(const QStaticTextItem &other)
bool ref()
Atomically increments the value of this QAtomicInt.
The QString class provides a Unicode character string.
The QSizeF class defines the size of a two-dimensional object using floating point precision...
The QChar class provides a 16-bit Unicode character.
#define QT_BEGIN_NAMESPACE
This macro expands to.
char useBackendOptimizations
QStaticTextUserData * m_userData
QStaticTextUserData(Type t)
QFontEngine * m_fontEngine
virtual ~QStaticTextUserData()
QStaticTextItem(const QStaticTextItem &other)
The QFont class specifies a font used for drawing text.
#define Q_AUTOTEST_EXPORT
The QTextOption class provides a description of general rich text properties.
unsigned char useBackendOptimizations
QStaticTextUserData * userData() const
unsigned char needsRelayout