Krita Source Code Documentation
Loading...
Searching...
No Matches
KisRotationOption.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6#ifndef KISROTATIONOPTION_H
7#define KISROTATIONOPTION_H
8
9#include <KisCurveOption.h>
10
12
13class PAINTOP_EXPORT KisRotationOption : public KisCurveOption
14{
15public:
17
18 qreal apply(const KisPaintInformation & info) const;
19 void applyFanCornersInfo(KisPaintOp *op);
20
21private:
23
24private:
25 bool m_fanCornersEnabled {false};
26 qreal m_fanCornersStep {30.0};
27};
28
29#endif // KISROTATIONOPTION_H