// Copyright (C) 2018 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only #ifndef QLOTTIEROUND_P_H #define QLOTTIEROUND_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 #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class QJsonObject; class Q_LOTTIE_EXPORT QLottieRound : public QLottieShape { public: QLottieRound() = default; explicit QLottieRound(const QLottieRound &other); QLottieRound(const QJsonObject &definition, QLottieBase *parent = nullptr); QLottieBase *clone() const override; void construct(const QJsonObject &definition); void updateProperties(int frame) override; void render(QLottieRenderer &renderer) const override; bool acceptsTrim() const override; QPointF position() const; qreal radius() const; protected: QLottieSpatialProperty m_position; QLottieProperty m_radius; }; QT_END_NAMESPACE #endif // QLOTTIEROUND_P_H