4#ifndef QSGDEFAULTGLYPHNODE_P_H
5#define QSGDEFAULTGLYPHNODE_P_H
18#include <private/qsgadaptationlayer_p.h>
19#include <private/qsgbasicglyphnode_p.h>
23class QSGDefaultGlyphNode :
public QSGBasicGlyphNode
26 QSGDefaultGlyphNode(QSGRenderContext *context);
27 ~QSGDefaultGlyphNode();
28 void setMaterialColor(
const QColor &color) override;
29 void setGlyphs(
const QPointF &position,
const QGlyphRun &glyphs) override;
30 void update() override;
31 void preprocess() override;
32 void setPreferredAntialiasingMode(AntialiasingMode) override;
33 void updateGeometry();
36 enum DefaultGlyphNodeType {
41 void setGlyphNodeType(DefaultGlyphNodeType type) { m_glyphNodeType = type; }
43 QSGRenderContext *m_context;
44 DefaultGlyphNodeType m_glyphNodeType;
45 QList<QSGNode *> m_nodesToDelete;
48 QList<quint32> indexes;
49 QList<QPointF> positions;
52 uint m_dirtyGeometry: 1;
54 AntialiasingMode m_preferredAntialiasingMode;
constexpr void setTop(int top) noexcept
Sets the Top margin to Top.
constexpr void setBottom(int bottom) noexcept
Sets the bottom margin to bottom.
constexpr QMargins(int left, int top, int right, int bottom) noexcept
Constructs margins with the given left, top, right, and bottom.
The QRawFont class provides access to a single physical instance of a font.
void setStyleColor(const QColor &c)
void setColor(const QColor &c)
Combined button and popup list for selecting options.