Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSharpnessOption.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 KISSHARPNESSOPTION_H
7#define KISSHARPNESSOPTION_H
8
9#include <KisCurveOption.h>
10
12
13class PAINTOP_EXPORT KisSharpnessOption : public KisCurveOption
14{
15public:
17
21 void apply(const KisPaintInformation &info, const QPointF &pt, qint32 &x, qint32 &y, qreal &xFraction, qreal &yFraction) const;
22
26 void applyThreshold(KisFixedPaintDeviceSP dab, const KisPaintInformation &info);
27
28 bool alignOutlineToPixels() const;
29
30private:
32private:
35};
36
37#endif // KISSHARPNESSOPTION_H