Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_processing_information.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2007 Cyrille Berger <cberger@cberger.net>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef _KIS_PROCESSING_INFORMATION_H_
8#define _KIS_PROCESSING_INFORMATION_H_
9
10#include "kis_types.h"
11
12#include "kritaimage_export.h"
13
14
20class KRITAIMAGE_EXPORT KisConstProcessingInformation
21{
22public:
23 KisConstProcessingInformation(const KisPaintDeviceSP device, const QPoint& topLeft, const KisSelectionSP selection);
30 const KisPaintDeviceSP paintDevice() const;
31
39 const QPoint& topLeft() const;
40private:
41 struct Private;
42 Private* const d;
43};
44
50class KRITAIMAGE_EXPORT KisProcessingInformation : public KisConstProcessingInformation
51{
52public:
53 KisProcessingInformation(KisPaintDeviceSP device, const QPoint& topLeft, const KisSelectionSP selection);
60 KisPaintDeviceSP paintDevice();
61private:
62 struct Private;
63 Private* const d;
64};
65
66#endif
const KisSelectionSP selection() const
const QPoint & topLeft() const