| 1 | // Copyright (C) 2018 The Qt Company Ltd.cxx . . $ `<file>/src/lottie/qlottielayer_p.h`/ |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QLOTTIELAYER_P_H |
| 5 | #define QLOTTIELAYER_P_Hcxx . . $ `src/lottie/qlottielayer_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 <QtLottie/private/qlottiebase_p.h>cxx . . $ `<file>/build/include/QtLottie/6.10.2/QtLottie/private/qlottiebase_p.h`/ |
| 19 | #include <QtCore/QSize> |
| 20 | |
| 21 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:103:10`! |
| 22 | |
| 23 | class QLottieRenderercxx . . $ QLottieRenderer#; |
| 24 | |
| 25 | class Q_LOTTIE_EXPORTcxx . . $ `build/include/QtLottie/qtlottieexports.h:13:13`! QLottieLayercxx . . $ QLottieLayer# : public QLottieBasecxx . . $ QLottieBase# |
| 26 | { |
| 27 | public: |
| 28 | enum MatteClipModecxx . . $ QLottieLayer#MatteClipMode# {NoClipcxx . . $ QLottieLayer#NoClip., Alphacxx . . $ QLottieLayer#Alpha., InvertedAlphacxx . . $ QLottieLayer#InvertedAlpha., Luminencecxx . . $ QLottieLayer#Luminence., InvertedLuminencecxx . . $ QLottieLayer#InvertedLuminence.}; |
| 29 | |
| 30 | QLottieLayercxx . . $ QLottieLayer#QLottieLayer(49f6e7a06ebc5aa8).() = default; |
| 31 | explicit QLottieLayercxx . . $ QLottieLayer#QLottieLayer(929f77efeff767c4). (const QLottieLayercxx . . $ QLottieLayer# &other); |
| 32 | ~cxx . . $ QLottieLayer#`~QLottieLayer`(49f6e7a06ebc5aa8).QLottieLayercxx . . $ QLottieLayer#() override; |
| 33 | |
| 34 | QLottieBasecxx . . $ QLottieBase# *clonecxx . . $ QLottieLayer#clone(a2c9116b87ae53f1).() const override; |
| 35 | |
| 36 | static QLottieLayercxx . . $ QLottieLayer# *constructcxx . . $ QLottieLayer#construct(97ddbb7e7cd35a6f).(QJsonObjectcxx . . $ QJsonObject# definition, const QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QJsonObjectcxx . . $ QJsonObject#> &assets); |
| 37 | static int constructLayerscxx . . $ QLottieLayer#constructLayers(e45f31cff3194e88).(QJsonArraycxx . . $ QJsonArray# jsonLayers, QLottieBasecxx . . $ QLottieBase# *parent, |
| 38 | const QMapcxx . . $ QMap#<QStringcxx . . $ QString#, QJsonObjectcxx . . $ QJsonObject#> &assets); |
| 39 | |
| 40 | bool activecxx . . $ QLottieLayer#active(4a668f6de69bf818).(int frame) const override; |
| 41 | |
| 42 | void parsecxx . . $ QLottieLayer#parse(6b379e5d051a9fe4).(const QJsonObjectcxx . . $ QJsonObject# &definition) override; |
| 43 | |
| 44 | void updatePropertiescxx . . $ QLottieLayer#updateProperties(d4f767463ce0a6b3).(int frame) override; |
| 45 | void rendercxx . . $ QLottieLayer#render(fef344d958664a1a).(QLottieRenderercxx . . $ QLottieRenderer# &renderer) const override; |
| 46 | |
| 47 | QLottieBasecxx . . $ QLottieBase# *findChildcxx . . $ QLottieLayer#findChild(949daa80cc904e35).(const QStringcxx . . $ QString# &childName) override; |
| 48 | |
| 49 | bool isClippedLayercxx . . $ QLottieLayer#isClippedLayer(50ce9a9e25b4a850).() const; |
| 50 | bool isMaskLayercxx . . $ QLottieLayer#isMaskLayer(50ce9a9e25b4a850).() const; |
| 51 | MatteClipModecxx . . $ QLottieLayer#MatteClipMode# clipModecxx . . $ QLottieLayer#clipMode(138d3fe05928c1a1).() const; |
| 52 | |
| 53 | int layerIdcxx . . $ QLottieLayer#layerId(455f465bc33b4cdf).() const; |
| 54 | QLottieBasicTransformcxx . . $ QLottieBasicTransform# *transformcxx . . $ QLottieLayer#transform(ba7c93590386f9ef).() const; |
| 55 | bool hasLinkedLayercxx . . $ QLottieLayer#hasLinkedLayer(50ce9a9e25b4a850).() const { return m_hasLinkedLayercxx . . $ QLottieLayer#m_hasLinkedLayer.; } |
| 56 | int linkedLayerIdcxx . . $ QLottieLayer#linkedLayerId(455f465bc33b4cdf).() const { return m_linkedLayerIdcxx . . $ QLottieLayer#m_linkedLayerId.; } |
| 57 | void applyLayerTransformcxx . . $ QLottieLayer#applyLayerTransform(fef344d958664a1a).(QLottieRenderercxx . . $ QLottieRenderer# &renderer) const; |
| 58 | QSizecxx . . $ QSize# sizecxx . . $ QLottieLayer#size(4b3b776e5ee2b367).() const; |
| 59 | |
| 60 | int startFramecxx . . $ QLottieLayer#startFrame(455f465bc33b4cdf).() const |
| 61 | { |
| 62 | return m_startFramecxx . . $ QLottieLayer#m_startFrame.; |
| 63 | } |
| 64 | |
| 65 | int endFramecxx . . $ QLottieLayer#endFrame(455f465bc33b4cdf).() const |
| 66 | { |
| 67 | return m_endFramecxx . . $ QLottieLayer#m_endFrame.; |
| 68 | } |
| 69 | |
| 70 | qrealcxx . . $ qreal# frameOffsetcxx . . $ QLottieLayer#frameOffset(21b6c25e127938e2).() const |
| 71 | { |
| 72 | return m_startTimecxx . . $ QLottieLayer#m_startTime.; |
| 73 | } |
| 74 | |
| 75 | static const QLottieLayercxx . . $ QLottieLayer# *checkedCastcxx . . $ QLottieLayer#checkedCast(ad02887b4892f1b).(const QLottieBasecxx . . $ QLottieBase# *node); |
| 76 | |
| 77 | |
| 78 | protected: |
| 79 | void renderEffectscxx . . $ QLottieLayer#renderEffects(fef344d958664a1a).(QLottieRenderercxx . . $ QLottieRenderer# &renderer) const; |
| 80 | |
| 81 | virtual QLottieLayercxx . . $ QLottieLayer# *resolveLinkedLayercxx . . $ QLottieLayer#resolveLinkedLayer(5ca9dbcc0bcf4228).(); |
| 82 | virtual QLottieLayercxx . . $ QLottieLayer# *linkedLayercxx . . $ QLottieLayer#linkedLayer(589606a5895f0562).() const; |
| 83 | |
| 84 | int m_layerIndexcxx . . $ QLottieLayer#m_layerIndex. = 0; |
| 85 | int m_startFramecxx . . $ QLottieLayer#m_startFrame. = 0; |
| 86 | int m_endFramecxx . . $ QLottieLayer#m_endFrame. = 0; |
| 87 | qrealcxx . . $ qreal# m_startTimecxx . . $ QLottieLayer#m_startTime. = 0; |
| 88 | int m_blendModecxx . . $ QLottieLayer#m_blendMode. = 0; |
| 89 | bool m_3dLayercxx . . $ QLottieLayer#m_3dLayer. = false; |
| 90 | QLottieBasecxx . . $ QLottieBase# *m_effectscxx . . $ QLottieLayer#m_effects. = nullptr; |
| 91 | qrealcxx . . $ qreal# m_stretchcxx . . $ QLottieLayer#m_stretch. = 0; |
| 92 | QLottieBasicTransformcxx . . $ QLottieBasicTransform# *m_layerTransformcxx . . $ QLottieLayer#m_layerTransform. = nullptr; |
| 93 | |
| 94 | bool m_hasLinkedLayercxx . . $ QLottieLayer#m_hasLinkedLayer. = false; |
| 95 | int m_linkedLayerIdcxx . . $ QLottieLayer#m_linkedLayerId. = 0; |
| 96 | int m_tdcxx . . $ QLottieLayer#m_td. = 0; |
| 97 | MatteClipModecxx . . $ QLottieLayer#MatteClipMode# m_clipModecxx . . $ QLottieLayer#m_clipMode. = NoClipcxx . . $ QLottieLayer#NoClip.; |
| 98 | |
| 99 | bool m_isActivecxx . . $ QLottieLayer#m_isActive. = true; |
| 100 | QSizecxx . . $ QSize# m_sizecxx . . $ QLottieLayer#m_size.; |
| 101 | |
| 102 | private: |
| 103 | void parseEffectscxx . . $ QLottieLayer#parseEffects(8cacb77cb689130e).(const QJsonArraycxx . . $ QJsonArray# &definition, QLottieBasecxx . . $ QLottieBase# *effectRoot = nullptr); |
| 104 | |
| 105 | mutable bool m_applyingLayerTransformcxx . . $ QLottieLayer#m_applyingLayerTransform. = false; |
| 106 | QLottieLayercxx . . $ QLottieLayer# *m_linkedLayercxx . . $ QLottieLayer#m_linkedLayer. = nullptr; |
| 107 | }; |
| 108 | |
| 109 | QT_END_NAMESPACEcxx . . $ `<external>/7770798561591309169/qtconfigmacros.h:104:10`! |
| 110 | |
| 111 | #endif // QLOTTIELAYER_P_H |