1// Copyright (C) 2023 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 QSGCURVEABSTRACTNODE_P_H
5#define QSGCURVEABSTRACTNODE_P_H
6
7#include <QtGui/qcolor.h>
8#include <QtQuick/qsgnode.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists for the convenience
15// of a number of Qt sources files. This header file may change from
16// version to version without notice, or even be removed.
17//
18// We mean it.
19//
20
21QT_BEGIN_NAMESPACE
22
23class QSGCurveAbstractNode : public QSGGeometryNode
24{
25public:
26 virtual void setColor(QColor col) = 0;
27 virtual void cookGeometry() = 0;
28 bool isDebugNode = false;
29};
30
31QT_END_NAMESPACE
32
33#endif // QSGCURVEABSTRACTNODE_P_H
34

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtdeclarative/src/quick/scenegraph/qsgcurveabstractnode_p.h