Krita Source Code Documentation
Loading...
Searching...
No Matches
KisSmudgeLengthOption.cpp
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 */
7
8#include <kis_painter.h>
9
11namespace kpou = KisPaintOpOptionUtils;
12
17
19 : KisCurveOption(data)
20 , m_useNewEngine(data.useNewEngine)
21 , m_smearAlpha(data.smearAlpha)
22 , m_mode(data.mode)
23{
24}
25
26KisSmudgeLengthOptionData::Mode KisSmudgeLengthOption::mode() const
27{
28 return m_mode;
29}
30
32{
33 return m_smearAlpha;
34}
35
KisSmudgeLengthOptionData::Mode mode() const
KisSmudgeLengthOption(const KisPropertiesConfiguration *setting)
KisSmudgeLengthOptionData::Mode m_mode