Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
/*
* imagesize.h -- Part of Krita
*
* SPDX-FileCopyrightText: 2004 Boudewijn Rempt ([email protected])
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef IMAGESIZE_H
#define IMAGESIZE_H
#include <QVariant>
#include <KisActionPlugin.h>
#include "kis_types.h"
class ImageSize : public KisActionPlugin
{
Q_OBJECT
public:
ImageSize(QObject *parent);
~ImageSize() override;
private:
void scaleLayerImpl(KisNodeSP rootNode);
void scaleLayersImpl(KisNodeList nodes);
private Q_SLOTS:
void slotImageSize();
void slotCanvasSize();
void slotLayerSize();
void slotSelectionScale();
void slotScaleAllLayers();
};
#endif // IMAGESIZE_H