File indexing completed on 2025-01-26 04:11:26
0001 /* 0002 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KISDARKENOPTION_H 0007 #define KISDARKENOPTION_H 0008 0009 #include <KisCurveOption.h> 0010 0011 struct KisDarkenOptionData; 0012 class KisPainter; 0013 class KisColorSource; 0014 0015 0016 class PAINTOP_EXPORT KisDarkenOption : public KisCurveOption 0017 { 0018 public: 0019 KisDarkenOption(const KisPropertiesConfiguration *setting); 0020 0021 KoColor apply(KisPainter * painter, const KisPaintInformation& info) const; 0022 void apply(KisColorSource* colorSource, const KisPaintInformation& info) const; 0023 }; 0024 0025 #endif // KISDARKENOPTION_H