// Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only #ifndef QQUICKPATH_P_H #define QQUICKPATH_P_H // // W A R N I N G // ------------- // // This file is not part of the Qt API. It exists purely as an // implementation detail. This header file may change from version to // version without notice, or even be removed. // // We mean it. // #include QT_REQUIRE_CONFIG(quick_path); #include "qquickpath_p.h" #include #include #include QT_BEGIN_NAMESPACE class Q_QUICK_EXPORT QQuickPathPrivate : public QObjectPrivate { Q_DECLARE_PUBLIC(QQuickPath) public: static QQuickPathPrivate* get(QQuickPath *path) { return path->d_func(); } static const QQuickPathPrivate* get(const QQuickPath *path) { return path->d_func(); } QQuickPathPrivate() {} QPainterPath _path; QList _pathElements; mutable QVector _pointCache; QList _attributePoints; QStringList _attributes; QList _pathCurves; QList _pathTexts; mutable QQuickCachedBezier prevBez; QQmlNullableValue startX; QQmlNullableValue startY; qreal pathLength = 0; QSizeF scale = QSizeF(1, 1); bool closed = false; bool componentComplete = true; bool isShapePath = false; bool simplify = false; }; QT_END_NAMESPACE #endif