38 void setGlyphs(
const QPointF &position,
const QGlyphRun &glyphs)
override;
39 void setColor(
const QColor &color)
override;
44 void setStyle(QQuickText::TextStyle style)
override;
57 enum DistanceFieldGlyphNodeType {
63 void setGlyphNodeType(DistanceFieldGlyphNodeType type) { m_glyphNodeType = type; }
64 void updateMaterial();
66 DistanceFieldGlyphNodeType m_glyphNodeType;
69 QSGRenderContext *m_context;
70 QSGDistanceFieldTextMaterial *m_material;
71 QPointF m_originalPosition;
74 QSGDistanceFieldGlyphCache *m_glyph_cache;
75 QSGGeometry m_geometry;
76 QQuickText::TextStyle m_style;
78 AntialiasingMode m_antialiasingMode;
79 QRectF m_boundingRect;
80 const QSGDistanceFieldGlyphCache::Texture *m_texture;
81 int m_renderTypeQuality;
84 QList<quint32> indexes;
85 QList<QPointF> positions;
87 QSet<quint32> m_allGlyphIndexesLookup;
89 QHash<
const QSGDistanceFieldGlyphCache::Texture *, GlyphInfo> m_glyphsInOtherTextures;
91 uint m_dirtyGeometry: 1;
92 uint m_dirtyMaterial: 1;