Skip to content

File DrawTransition.hpp

File List > QAccelPlot > src > QAccelPlot > transitions > DrawTransition.hpp

Go to the documentation of this file

//
// SPDX-FileCopyrightText: 2026 Michal Grabarczyk
// SPDX-License-Identifier: GPL-3.0-only WITH Universal-FOSS-exception-1.0
//
// This file is also available under a separate commercial license.
// See COMMERCIAL-LICENSING.md for contact information.
//
#pragma once

#include "QAccelPlot/transitions/DataTransition.hpp"

namespace QAccelPlot {

class DrawTransition : public DataTransition {
    Q_OBJECT
    QML_NAMED_ELEMENT(DrawTransition)

public:
    explicit DrawTransition(QObject* parent = nullptr);

protected:
    void interpolate(double easedProgress, const Dataset& from, const Dataset& to, Dataset& out) override;
};

} // namespace QAccelPlot