Krita Source Code Documentation
Loading...
Searching...
No Matches
KisAsyncAnimationFramesSavingRenderer.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISASYNCANIMATIONFRAMESSAVINGRENDERER_H
8#define KISASYNCANIMATIONFRAMESSAVINGRENDERER_H
9
11
12class KisDocument;
13class KisTimeSpan;
14
16{
17 Q_OBJECT
18public:
20 const QString &fileNamePrefix,
21 const QString &fileNameSuffix,
22 const QByteArray &outputMimeType,
23 const KisTimeSpan &range,
24 const int sequenceNumberingOffset,
25 const bool onlyNeedsUniqueFrames,
26 KisPropertiesConfigurationSP exportConfiguration);
28
29protected:
30 void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override;
31 void frameCancelledCallback(int frame, CancelReason cancelReason) override;
32
33Q_SIGNALS:
36
37private:
38 struct Private;
39 const QScopedPointer<Private> m_d;
40};
41
42#endif // KISASYNCANIMATIONFRAMESSAVINGRENDERER_H
void frameCancelledCallback(int frame, CancelReason cancelReason) override
frameCancelledCallback is called when the rendering of the frame was cancelled.
void sigCancelRegenerationInternal(int frame, KisAsyncAnimationRendererBase::CancelReason cancelReason)
void frameCompletedCallback(int frame, const KisRegion &requestedRegion) override
frameCompletedCallback is called by the renderer when a new frame becomes ready
KisAsyncAnimationFramesSavingRenderer(KisImageSP image, const QString &fileNamePrefix, const QString &fileNameSuffix, const QByteArray &outputMimeType, const KisTimeSpan &range, const int sequenceNumberingOffset, const bool onlyNeedsUniqueFrames, KisPropertiesConfigurationSP exportConfiguration)
void sigCompleteRegenerationInternal(int frame)