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
qquickpath_p_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 QQUICKPATH_P_H
5#define QQUICKPATH_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
21
22#include "qquickpath_p.h"
23
24#include <qqml.h>
25#include <QtCore/QStringList>
26
27#include <private/qobject_p.h>
28
30
31class Q_QUICK_EXPORT QQuickPathPrivate : public QObjectPrivate
32{
33 Q_DECLARE_PUBLIC(QQuickPath)
34
35public:
36 static QQuickPathPrivate* get(QQuickPath *path) { return path->d_func(); }
37 static const QQuickPathPrivate* get(const QQuickPath *path) { return path->d_func(); }
38
40
42 QList<QQuickPathElement*> _pathElements;
43 mutable QVector<QPointF> _pointCache;
44 QList<QQuickPath::AttributePoint> _attributePoints;
46 QList<QQuickCurve*> _pathCurves;
47 QList<QQuickPathText*> _pathTexts;
49 QQmlNullableValue<qreal> startX;
50 QQmlNullableValue<qreal> startY;
51 qreal pathLength = 0;
53 bool closed = false;
54 bool componentComplete = true;
55 bool isShapePath = false;
56 bool simplify = false;
57};
58
60
61#endif
\inmodule QtGui
static const QQuickPathPrivate * get(const QQuickPath *path)
QList< QQuickCurve * > _pathCurves
QStringList _attributes
QPainterPath _path
QVector< QPointF > _pointCache
static QQuickPathPrivate * get(QQuickPath *path)
QQmlNullableValue< qreal > startX
QQmlNullableValue< qreal > startY
QList< QQuickPathElement * > _pathElements
QList< QQuickPathText * > _pathTexts
QList< QQuickPath::AttributePoint > _attributePoints
QQuickCachedBezier prevBez
\inmodule QtCore
Definition qsize.h:208
\inmodule QtCore
Combined button and popup list for selecting options.
GLsizei const GLchar *const * path
GLenum GLenum GLenum GLenum GLenum scale
#define QT_REQUIRE_CONFIG(feature)
double qreal
Definition qtypes.h:187