File indexing completed on 2025-02-02 04:11:06
0001 /* 0002 * SPDX-FileCopyrightText: 2019-2023 Mattia Basaglia <dev@dragon.best> 0003 * 0004 * SPDX-License-Identifier: GPL-3.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "path_modifier.hpp" 0010 0011 namespace glaxnimate::model { 0012 0013 class InflateDeflate : public StaticOverrides<InflateDeflate, PathModifier> 0014 { 0015 GLAXNIMATE_OBJECT(InflateDeflate) 0016 GLAXNIMATE_ANIMATABLE(float, amount, 0, {}, -1, 1, false, PropertyTraits::Percent) 0017 0018 public: 0019 using Ctor::Ctor; 0020 0021 static QIcon static_tree_icon(); 0022 static QString static_type_name_human(); 0023 0024 math::bezier::MultiBezier process(FrameTime t, const math::bezier::MultiBezier& mbez) const override; 0025 0026 protected: 0027 bool process_collected() const override; 0028 0029 }; 0030 0031 } // namespace glaxnimate::model