Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_image_interfaces.cpp
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
8
9#include <kis_node.h>
10
11
15
19
20void KisUpdatesFacade::refreshGraphAsync(KisNodeSP root, KisProjectionUpdateFlags flags)
21{
22 refreshGraphAsync(root, bounds(), bounds(), flags);
23}
24
25void KisUpdatesFacade::refreshGraphAsync(KisNodeSP root, const QRect &rc, KisProjectionUpdateFlags flags)
26{
27 refreshGraphAsync(root, rc, bounds(), flags);
28}
29
30void KisUpdatesFacade::refreshGraphAsync(KisNodeSP root, const QRect &rc, const QRect &cropRect, KisProjectionUpdateFlags flags)
31{
32 refreshGraphAsync(root, QVector<QRect>({rc}), cropRect, flags);
33}
34
35
39
void refreshGraphAsync(KisNodeSP root=nullptr, KisProjectionUpdateFlags flags=KisProjectionUpdateFlag::None)
virtual QRect bounds() const =0