File indexing completed on 2025-02-02 04:21:14
0001 /* 0002 * shearimage.h -- Part of Krita 0003 * 0004 * SPDX-FileCopyrightText: 2004 Michael Thaler (michael.thaler@physik.tu-muenchen.de) 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef SHEARIMAGE_H 0010 #define SHEARIMAGE_H 0011 0012 #include <QVariant> 0013 0014 #include <KisActionPlugin.h> 0015 #include "kis_types.h" 0016 0017 0018 class ShearImage : public KisActionPlugin 0019 { 0020 Q_OBJECT 0021 public: 0022 ShearImage(QObject *parent, const QVariantList &); 0023 ~ShearImage() override; 0024 0025 private: 0026 void shearLayerImpl(KisNodeSP rootNode); 0027 void shearLayersImpl(KisNodeList nodes); 0028 0029 private Q_SLOTS: 0030 0031 void slotShearImage(); 0032 void slotShearLayer(); 0033 void slotShearAllLayers(); 0034 }; 0035 0036 #endif // SHEARIMAGE_H