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++
/*
* SPDX-FileCopyrightText: 2019 Dmitry Kazakov <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KISCROPPEDORIGINALLAYERINTERFACE_H
#define KISCROPPEDORIGINALLAYERINTERFACE_H
#include "kritaimage_export.h"
class KRITAIMAGE_EXPORT KisCroppedOriginalLayerInterface
{
public:
virtual ~KisCroppedOriginalLayerInterface();
/**
* Force regeneration of the hidden part of original() device
* (the one outside image bounds). After regeneration is completed,
* the layer will Q_EMIT dirty signals itself, so no manual forced
* update is needed.
*/
virtual void forceUpdateHiddenAreaOnOriginal() = 0;
};
#endif // KISCROPPEDORIGINALLAYERINTERFACE_H