2019-08-24 15:07:28 +00:00
|
|
|
// enve - 2D animations software
|
2020-01-02 19:46:10 +00:00
|
|
|
// Copyright (C) 2016-2020 Maurycy Liebner
|
2019-08-24 15:07:28 +00:00
|
|
|
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
#ifndef ELINEARIZE_H
|
|
|
|
#define ELINEARIZE_H
|
2019-06-02 16:53:04 +00:00
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
#include "elinearize_global.h"
|
2019-06-02 16:53:04 +00:00
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
class eLinearize000 : public CustomPathEffect {
|
2019-06-02 16:53:04 +00:00
|
|
|
public:
|
2019-08-28 16:30:12 +00:00
|
|
|
eLinearize000();
|
2019-06-02 16:53:04 +00:00
|
|
|
|
2019-07-06 13:57:28 +00:00
|
|
|
CustomIdentifier getIdentifier() const;
|
2019-12-31 15:38:32 +00:00
|
|
|
stdsptr<PathEffectCaller> getEffectCaller(
|
|
|
|
const qreal relFrame, const qreal influence) const;
|
2019-06-03 12:24:00 +00:00
|
|
|
private:
|
|
|
|
qsptr<QrealAnimator> mInfluence;
|
2019-06-02 16:53:04 +00:00
|
|
|
};
|
|
|
|
|
2019-08-28 16:30:12 +00:00
|
|
|
#endif // ELINEARIZE_H
|