Krita Source Code Documentation
Loading...
Searching...
No Matches
KisDynamicSensorDrawingAngle.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 KISDYNAMICSENSORDRAWINGANGLE_H
7#define KISDYNAMICSENSORDRAWINGANGLE_H
8
9#include "KisDynamicSensor.h"
10
12
14{
15public:
16 KisDynamicSensorDrawingAngle(const KisDrawingAngleSensorData &data, std::optional<KisCubicCurve> curveOverride);
17
18 qreal value(const KisPaintInformation& info) const override;
19 bool isAbsoluteRotation() const override;
20
21private:
23 const int m_angleOffset;
24};
25
26#endif // KISDYNAMICSENSORDRAWINGANGLE_H
KisDynamicSensorDrawingAngle(const KisDrawingAngleSensorData &data, std::optional< KisCubicCurve > curveOverride)
qreal value(const KisPaintInformation &info) const override