Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_processing_information.cpp
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
8#include "kis_paint_device.h"
9#include "kis_selection.h"
10#include "kis_image.h"
11
13 Private() : device(0), selection(0) {}
16 QPoint topLeft;
17};
18
20{
21 d->device = device;
22 d->selection = selection;
23 d->topLeft = topLeft;
24}
25
30
36
41
43{
44 return d->device;
45}
46
48{
49 return d->selection;
50}
51
53{
54 return d->topLeft;
55}
56
60
61KisProcessingInformation::KisProcessingInformation(KisPaintDeviceSP device, const QPoint& topLeft, const KisSelectionSP selection) : KisConstProcessingInformation(device, topLeft, selection), d(new Private)
62{
63 d->device = device;
64}
65
69
76
81
KisConstProcessingInformation & operator=(const KisConstProcessingInformation &_rhs)
KisConstProcessingInformation(const KisPaintDeviceSP device, const QPoint &topLeft, const KisSelectionSP selection)
const KisPaintDeviceSP paintDevice() const
KisProcessingInformation & operator=(const KisProcessingInformation &_rhs)
KisProcessingInformation(KisPaintDeviceSP device, const QPoint &topLeft, const KisSelectionSP selection)