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

0001 /*
0002  *  SPDX-FileCopyrightText: 2016 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef __KIS_ONION_SKIN_CACHE_H
0008 #define __KIS_ONION_SKIN_CACHE_H
0009 
0010 #include <QScopedPointer>
0011 #include "kis_types.h"
0012 
0013 
0014 class KisOnionSkinCache
0015 {
0016 public:
0017     KisOnionSkinCache();
0018     ~KisOnionSkinCache();
0019 
0020     KisPaintDeviceSP projection(KisPaintDeviceSP source);
0021     void reset();
0022 
0023     KisPaintDeviceSP lodCapableDevice() const;
0024 
0025 private:
0026     struct Private;
0027     const QScopedPointer<Private> m_d;
0028 };
0029 
0030 #endif /* __KIS_ONION_SKIN_CACHE_H */