Debian Codegraph @

src/lottiegenerator/qlottievisitor_p.h

raw symbols SCIP
1 // Copyright (C) 2025 The Qt Company Ltd.cxx . . $ `<file>/src/lottiegenerator/qlottievisitor_p.h`/
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4 #ifndef QLOTTIEVISITOR_P_H
5 #define QLOTTIEVISITOR_P_Hcxx . . $ `src/lottiegenerator/qlottievisitor_p.h:5:9`!
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 <QJsonDocument>
19 #include <QJsonArray>
20
21 #include <QtCore/QStack>
22 #include <QtGui/qbrush.h>
23 #include <QtGui/qpen.h>
24
25 #include <QtGui/private/qfixed_p.h>
26
27 #include <private/qlottiebase_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottiebase_p.h`/
28 #include <private/qlottielayer_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottielayer_p.h`/
29 #include <private/qlottiegroup_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottiegroup_p.h`/
30 #include <private/qlottiebasictransform_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottiebasictransform_p.h`/
31 #include <private/qquickgenerator_p.h>
32 #include <private/qquicknodeinfo_p.h>
33 #include <private/qfixed_p.h>
34
35 #include <QtLottie/private/qlottierenderer_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottierenderer_p.h`/
36 #include <QtLottieVectorImageGenerator/qtlottievectorimagegeneratorexports.h>cxx . . $ `<file>/build/include/QtLottieVectorImageGenerator/qtlottievectorimagegeneratorexports.h`/
37
38 QT_BEGIN_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:103:10`!
39
40 class QLottieRootcxx . . $ QLottieRoot#;
41
42 class Q_LOTTIEVECTORIMAGEGENERATOR_EXPORTcxx . . $ `build/include/QtLottieVectorImageGenerator/qtlottievectorimagegeneratorexports.h:15:13`! QLottieVisitorcxx . . $ QLottieVisitor# : public QLottieRenderercxx . . $ QLottieRenderer#
43 {
44 public:
45 struct PaintInfocxx . . $ QLottieVisitor#PaintInfo#
46 {
47 QBrushcxx . . $ QBrush# fillcxx . . $ QLottieVisitor#PaintInfo#fill. = Qtcxx . . $ QBrush#QBrush(1975e3c608654284).::transparentcxx . . $ Qt/transparent.;
48 QPencxx . . $ QPen# strokecxx . . $ QLottieVisitor#PaintInfo#stroke. = QPencxx . . $ QPen#QPen(129a55e114526ad3).(Qtcxx . . $ QColor#QColor(408ec4d5924bfb00).::transparentcxx . . $ Qt/transparent.);
49 qrealcxx . . $ qreal# opacitycxx . . $ QLottieVisitor#PaintInfo#opacity. = 1.0;
50 Qtcxx . . $ Qt/::FillRulecxx . . $ Qt/FillRule# fillRulecxx . . $ QLottieVisitor#PaintInfo#fillRule. = Qtcxx . . $ Qt/::WindingFillcxx . . $ Qt/WindingFill.;
51 QPainterPathcxx . . $ QPainterPath# unitedPathcxx . . $ QLottieVisitor#PaintInfo#unitedPath.;
52 PathTrimInfocxx . . $ QQuickVectorImageGenerator/PathTrimInfo# trimcxx . . $ QLottieVisitor#PaintInfo#trim.;
53
54 QTransformcxx . . $ QTransform# transformcxx . . $ QLottieVisitor#PaintInfo#transform.;
55
56 struct TransformAnimationInfocxx . . $ QLottieVisitor#PaintInfo#TransformAnimationInfo#
57 {
58 QTransformcxx . . $ QTransform#::TransformationTypecxx . . $ QTransform#TransformationType# animationTypecxx . . $ QLottieVisitor#PaintInfo#TransformAnimationInfo#animationType.;
59
60 QMapcxx . . $ QMap#<int, QVariantcxx . . $ QVariant#> framescxx . . $ QLottieVisitor#PaintInfo#TransformAnimationInfo#frames.;
61 QMapcxx . . $ QMap#<int, QBeziercxx . . $ QBezier#> easingPerFramecxx . . $ QLottieVisitor#PaintInfo#TransformAnimationInfo#easingPerFrame.;
62 };
63 QListcxx . . $ QList#<TransformAnimationInfocxx . . $ QLottieVisitor#PaintInfo#TransformAnimationInfo#> transformAnimationscxx . . $ QLottieVisitor#PaintInfo#transformAnimations.;
64 };
65
66 QLottieVisitorcxx . . $ QLottieVisitor#QLottieVisitor(ab2a6fc4e379ef6a).(const QStringcxx . . $ QString# lottieFileName, QQuickGeneratorcxx . . $ QQuickGenerator# *generator);
67 virtual ~cxx . . $ QLottieVisitor#`~QLottieVisitor`(ced63f7c635d850d).QLottieVisitorcxx . . $ QLottieVisitor#() {}
68
69 void saveStatecxx . . $ QLottieVisitor#saveState(49f6e7a06ebc5aa8).() override;
70 void restoreStatecxx . . $ QLottieVisitor#restoreState(49f6e7a06ebc5aa8).() override;
71
72 void rendercxx . . $ QLottieVisitor#render(e0eb7e4e9556e99c).(const QLottieRootcxx . . $ QLottieRoot# &layer);
73
74 void rendercxx . . $ QLottieVisitor#render(929f77efeff767c4).(const QLottieLayercxx . . $ QLottieLayer# &layer) override;
75 void rendercxx . . $ QLottieVisitor#render(e021ebee7deb0c0f).(const QLottieSolidLayercxx . . $ QLottieSolidLayer# &layer) override;
76 void rendercxx . . $ QLottieVisitor#render(35a3b2931a62c1fc).(const QLottieGroupcxx . . $ QLottieGroup# &group) override;
77
78 void finishcxx . . $ QLottieVisitor#finish(929f77efeff767c4).(const QLottieLayercxx . . $ QLottieLayer# &layer) override;
79 void finishcxx . . $ QLottieVisitor#finish(35a3b2931a62c1fc).(const QLottieGroupcxx . . $ QLottieGroup# &group) override;
80
81 void rendercxx . . $ QLottieVisitor#render(75be3c4fc90139c3).(const QLottieRectcxx . . $ QLottieRect# &rect) override;
82 void rendercxx . . $ QLottieVisitor#render(840b21eb194ac7f2).(const QLottieEllipsecxx . . $ QLottieEllipse# &ellipse) override;
83 void rendercxx . . $ QLottieVisitor#render(d2786fb4cbb84649).(const QLottiePolyStarcxx . . $ QLottiePolyStar# &star) override;
84 void rendercxx . . $ QLottieVisitor#render(8969874366a60feb).(const QLottieRoundcxx . . $ QLottieRound# &round) override;
85 void rendercxx . . $ QLottieVisitor#render(d871a3c091f668d8).(const QLottieFillcxx . . $ QLottieFill# &fill) override;
86 void rendercxx . . $ QLottieVisitor#render(4c2f4b9b8d0669da).(const QLottieGFillcxx . . $ QLottieGFill# &shape) override;
87 void rendercxx . . $ QLottieVisitor#render(e1fd36708814a2ce).(const QLottieImagecxx . . $ QLottieImage# &image) override;
88 void rendercxx . . $ QLottieVisitor#render(38e40ed1b515a833).(const QLottieStrokecxx . . $ QLottieStroke# &stroke) override;
89 void rendercxx . . $ QLottieVisitor#render(31e682b2b53c895e).(const QLottieBasicTransformcxx . . $ QLottieBasicTransform# &transform) override;
90 void rendercxx . . $ QLottieVisitor#render(a08fc03aacb80690).(const QLottieShapeTransformcxx . . $ QLottieShapeTransform# &transform) override;
91 void rendercxx . . $ QLottieVisitor#render(80947ac6150907b4).(const QLottieFreeFormShapecxx . . $ QLottieFreeFormShape# &shape) override;
92 void rendercxx . . $ QLottieVisitor#render(c87c5bb8049155d4).(const QLottieTrimPathcxx . . $ QLottieTrimPath# &trim) override;
93 void rendercxx . . $ QLottieVisitor#render(63ba17a88812db5e).(const QLottieFillEffectcxx . . $ QLottieFillEffect# &effect) override;
94 void rendercxx . . $ QLottieVisitor#render(ff82bf762d31a481).(const QLottieRepeatercxx . . $ QLottieRepeater# &repeater) override;
95
96 void fillCommonNodeInfocxx . . $ QLottieVisitor#fillCommonNodeInfo(3e91376a5469a16f).(const QLottieBasecxx . . $ QLottieBase# *node, NodeInfocxx . . $ QQuickVectorImageGenerator/NodeInfo# *info);
97 void fillAnimationNodeInfocxx . . $ QLottieVisitor#fillAnimationNodeInfo(3e91376a5469a16f).(const QLottieBasecxx . . $ QLottieBase# *node, NodeInfocxx . . $ QQuickVectorImageGenerator/NodeInfo# *info);
98 void fillBasicPathInfocxx . . $ QLottieVisitor#fillBasicPathInfo(915990f1949e394a).(const QLottieShapecxx . . $ QLottieShape# *strokeOrFill, PathNodeInfocxx . . $ QQuickVectorImageGenerator/PathNodeInfo# *pathInfo);
99 void fillLayerAnimationInfocxx . . $ QLottieVisitor#fillLayerAnimationInfo(97bdbaf46b69417d).(const QLottieLayercxx . . $ QLottieLayer# *node, NodeInfocxx . . $ QQuickVectorImageGenerator/NodeInfo# *info);
100
101 private:
102 static bool nodeIsGraphicElementcxx . . $ QLottieVisitor#nodeIsGraphicElement(eac2c6641055c14c).(const QLottieBasecxx . . $ QLottieBase# *node);
103 static bool nodeIsShapecxx . . $ QLottieVisitor#nodeIsShape(eac2c6641055c14c).(const QLottieBasecxx . . $ QLottieBase# *node);
104 static bool hasAnimationscxx . . $ QLottieVisitor#hasAnimations(a9ef111bd354e1c9).(const QLottieBasicTransformcxx . . $ QLottieBasicTransform# *transform, bool isShapeTransform = false);
105 void processShapecxx . . $ QLottieVisitor#processShape(442453f92a724539).(const QLottieShapecxx . . $ QLottieShape# *shape);
106 void processShapecxx . . $ QLottieVisitor#processShape(ccf82ab05a72f10f).(const QLottieShapecxx . . $ QLottieShape# *shape, const QPainterPathcxx . . $ QPainterPath# &path);
107 void collectTransformAnimationscxx . . $ QLottieVisitor#collectTransformAnimations(6bff06d114a45b4f).(const QLottieBasicTransformcxx . . $ QLottieBasicTransform# *transform,
108 bool isShapeTransform = false);
109 void enumerateLayerChildrencxx . . $ QLottieVisitor#enumerateLayerChildren(7ae3d51d2526f426).(const QLottieBasecxx . . $ QLottieBase# *node);
110 QStringcxx . . $ QString# scrubcxx . . $ QLottieVisitor#scrub(fd988a2ab94d906b).(const QStringcxx . . $ QString# &raw);
111
112 QStringcxx . . $ QString# m_lottieFileNamecxx . . $ QLottieVisitor#m_lottieFileName.;
113 QQuickGeneratorcxx . . $ QQuickGenerator# *m_generatorcxx . . $ QLottieVisitor#m_generator.;
114
115 PaintInfocxx . . $ QLottieVisitor#PaintInfo# m_currentPaintInfocxx . . $ QLottieVisitor#m_currentPaintInfo.;
116
117 QListcxx . . $ QList#<PaintInfocxx . . $ QLottieVisitor#PaintInfo#> m_savedPaintInfoscxx . . $ QLottieVisitor#m_savedPaintInfos.;
118
119 int m_frameRatecxx . . $ QLottieVisitor#m_frameRate. = 30;
120 int m_durationcxx . . $ QLottieVisitor#m_duration. = 1000;
121 qrealcxx . . $ qreal# m_frameOffsetcxx . . $ QLottieVisitor#m_frameOffset. = 0;
122
123 QListcxx . . $ QList#<const QLottieBasecxx . . $ QLottieBase# *> m_layerscxx . . $ QLottieVisitor#m_layers.;
124 QStackcxx . . $ QStack#<const QLottieBasecxx . . $ QLottieBase# *> m_currentStructElementscxx . . $ QLottieVisitor#m_currentStructElements.;
125 };
126
127 QT_END_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:104:10`!
128
129 #endif // QLOTTIEVISITOR_P_H
130