Krita Source Code Documentation
Loading...
Searching...
No Matches
KisCurveOpOptionData.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2022 Agata Cacko <cacko.azh@gmail.com>
3 * SPDX-FileCopyrightText: 2011 Lukáš Tvrdý <lukast.dev@gmail.com>
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7#ifndef KIS_CURVEOP_OPTION_DATA_H
8#define KIS_CURVEOP_OPTION_DATA_H
9
10
11#include "kis_types.h"
12#include <boost/operators.hpp>
13
15
16
17struct KisCurveOpOptionData : boost::equality_comparable<KisCurveOpOptionData>
18{
26
27
29 bool curve_smoothing {false};
33
34 bool read(const KisPropertiesConfiguration *setting);
35 void write(KisPropertiesConfiguration *setting) const;
36};
37
38#endif // KIS_CURVEOP_OPTION_DATA_H
void write(KisPropertiesConfiguration *setting) const
bool read(const KisPropertiesConfiguration *setting)
friend bool operator==(const KisCurveOpOptionData &lhs, const KisCurveOpOptionData &rhs)