File indexing completed on 2025-01-26 04:11:28
0001 /* 0002 * SPDX-FileCopyrightText: 2022 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KISMIRROROPTION_H 0007 #define KISMIRROROPTION_H 0008 0009 #include <KisCurveOption.h> 0010 0011 struct KisMirrorOptionData; 0012 struct MirrorProperties; 0013 0014 class PAINTOP_EXPORT KisMirrorOption : public KisCurveOption 0015 { 0016 public: 0017 KisMirrorOption(const KisPropertiesConfiguration *setting); 0018 0019 MirrorProperties apply(const KisPaintInformation& info) const; 0020 0021 private: 0022 KisMirrorOption(const KisMirrorOptionData &data); 0023 private: 0024 bool m_enableHorizontalMirror; 0025 bool m_enableVerticalMirror; 0026 }; 0027 0028 #endif // KISMIRROROPTION_H