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 QQUICKSVGPARSER_P_H |
5 | #define QQUICKSVGPARSER_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/qtquickglobal_p.h> |
19 | #include <QtCore/qstring.h> |
20 | #include <QtGui/qpainterpath.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | namespace QQuickSvgParser |
25 | { |
26 | bool parsePathDataFast(const QString &dataStr, QPainterPath &path); |
27 | Q_QUICK_PRIVATE_EXPORT void pathArc(QPainterPath &path, qreal rx, qreal ry, qreal x_axis_rotation, |
28 | int large_arc_flag, int sweep_flag, qreal x, qreal y, qreal curx, |
29 | qreal cury); |
30 | } |
31 | |
32 | QT_END_NAMESPACE |
33 | |
34 | #endif // QQUICKSVGPARSER_P_H |
35 | |