Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsgbasicglyphnode_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSGBASICGLYPHNODE_P_H
5#define QSGBASICGLYPHNODE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qsgadaptationlayer_p.h>
19
21
22class QSGMaterial;
23
24class Q_QUICK_EXPORT QSGBasicGlyphNode: public QSGGlyphNode
25{
26public:
28 virtual ~QSGBasicGlyphNode();
29
30 QPointF baseLine() const override { return m_baseLine; }
31 void setGlyphs(const QPointF &position, const QGlyphRun &glyphs) override;
32 void setColor(const QColor &color) override;
33
35 void setStyle(QQuickText::TextStyle) override;
36 void setStyleColor(const QColor &) override;
37
38 virtual void setMaterialColor(const QColor &color) = 0;
39 void update() override = 0;
40
41protected:
47
50
52};
53
55
56#endif
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
The QGlyphRun class provides direct access to the internal glyphs in a font.
Definition qglyphrun.h:20
\inmodule QtCore\reentrant
Definition qpoint.h:217
QPointF baseLine() const override
void update() override=0
QQuickText::TextStyle m_style
void setPreferredAntialiasingMode(AntialiasingMode) override
virtual void setMaterialColor(const QColor &color)=0
The QSGGeometry class provides low-level storage for graphics primitives in the \l{Qt Quick Scene Gra...
Definition qsggeometry.h:15
The QSGMaterial class encapsulates rendering state for a shader program.
Definition qsgmaterial.h:15
Combined button and popup list for selecting options.
GLuint color
[2]
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
myFilter setColor(QColor(128, 0, 0))
widget setStyle(proxy)