Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_gradient_shape_strategy.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_GRADIENT_SHAPE_STRATEGY_H
8#define __KIS_GRADIENT_SHAPE_STRATEGY_H
9
10#include <QPointF>
11
12#include "kritaimage_export.h"
13
14class KRITAIMAGE_EXPORT KisGradientShapeStrategy
15{
16public:
18 KisGradientShapeStrategy(const QPointF& gradientVectorStart, const QPointF& gradientVectorEnd);
20
21 virtual double valueAt(double x, double y) const = 0;
22
23protected:
26};
27
28#endif /* __KIS_GRADIENT_SHAPE_STRATEGY_H */
virtual double valueAt(double x, double y) const =0