38 void setGlyphs(
const QPointF &position,
const QGlyphRun &glyphs)
override;
39 void setColor(
const QColor &color)
override;
44 void setStyle(QQuickText::TextStyle style)
override;
55 enum DistanceFieldGlyphNodeType {
60 void setGlyphNodeType(DistanceFieldGlyphNodeType type) { m_glyphNodeType = type; }
61 void updateMaterial();
63 DistanceFieldGlyphNodeType m_glyphNodeType;
66 QSGRenderContext *m_context;
67 QSGDistanceFieldTextMaterial *m_material;
68 QPointF m_originalPosition;
71 QSGDistanceFieldGlyphCache *m_glyph_cache;
72 QSGGeometry m_geometry;
73 QQuickText::TextStyle m_style;
75 AntialiasingMode m_antialiasingMode;
76 QRectF m_boundingRect;
77 const QSGDistanceFieldGlyphCache::Texture *m_texture;
78 int m_renderTypeQuality;
81 QList<quint32> indexes;
82 QList<QPointF> positions;
84 QSet<quint32> m_allGlyphIndexesLookup;
86 QHash<
const QSGDistanceFieldGlyphCache::Texture *, GlyphInfo> m_glyphsInOtherTextures;
88 uint m_dirtyGeometry: 1;
89 uint m_dirtyMaterial: 1;