File GradientStops.hpp¶
File List > effects > internal > GradientStops.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/effects/GradientColorTypes.hpp"
#include <QVariantList>
#include <vector>
class QObject;
namespace QAccelPlot {
class Colormap;
} // namespace QAccelPlot
namespace QAccelPlot::Internal {
std::vector<GradientStopData> readGradientStopList(const QVariantList& stopObjects);
std::vector<GradientStopData> readEffectStops(const Colormap* colormap, QObject* gradient);
} // namespace QAccelPlot::Internal