Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_regenerate_frame_stroke_strategy.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2015 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef __KIS_REGENERATE_FRAME_STROKE_STRATEGY_H
8#define __KIS_REGENERATE_FRAME_STROKE_STRATEGY_H
9
11
12#include <QScopedPointer>
13
14class KisRegion;
15
17class KisLockFrameGenerationLock;
18
19
21{
22public:
27
28
29public:
35 const KisRegion &dirtyRegion,
36 bool isCancellable,
38 KisLockFrameGenerationLock &&frameGenerationLock);
39
49
51
52 void initStrokeCallback() override;
53 void doStrokeCallback(KisStrokeJobData *data) override;
54 void finishStrokeCallback() override;
55 void cancelStrokeCallback() override;
56
57 KisStrokeStrategy* createLodClone(int levelOfDetail) override;
58 void suspendStrokeCallback() override;
59 void resumeStrokeCallback() override;
60
62
63private:
64 struct Private;
65 const QScopedPointer<Private> m_d;
66};
67
68#endif /* __KIS_REGENERATE_FRAME_STROKE_STRATEGY_H */
KisRegenerateFrameStrokeStrategy(int frameId, const KisRegion &dirtyRegion, bool isCancellable, KisImageAnimationInterface *interface, KisLockFrameGenerationLock &&frameGenerationLock)
static QList< KisStrokeJobData * > createJobsData(KisImageWSP image)
void doStrokeCallback(KisStrokeJobData *data) override
KisStrokeStrategy * createLodClone(int levelOfDetail) override