File indexing completed on 2024-05-12 15:58:50

0001 /*
0002  *  SPDX-FileCopyrightText: 2019 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KISCROPPEDORIGINALLAYERINTERFACE_H
0007 #define KISCROPPEDORIGINALLAYERINTERFACE_H
0008 
0009 #include "kritaimage_export.h"
0010 
0011 class KRITAIMAGE_EXPORT KisCroppedOriginalLayerInterface
0012 {
0013 public:
0014     virtual ~KisCroppedOriginalLayerInterface();
0015 
0016 
0017     /**
0018      * Force regeneration of the hidden part of original() device
0019      * (the one outside image bounds). After regeneration is completed,
0020      * the layer will emit dirty signals itself, so no manual forced
0021      * update is needed.
0022      */
0023     virtual void forceUpdateHiddenAreaOnOriginal() = 0;
0024 };
0025 
0026 #endif // KISCROPPEDORIGINALLAYERINTERFACE_H