39 bool hasAnimation()
const;
45 int currentTime()
const;
51 int currentUITime()
const;
65 bool externalFrameActive()
const;
67 void requestTimeSwitchWithUndo(
int time);
69 void requestTimeSwitchNonGUI(
int time,
bool useUndo =
false);
87 void requestFrameRegeneration(
int frameId,
const KisRegion &dirtyRegion,
bool isCancellable, KisLockFrameGenerationLock &&lock);
89 void notifyNodeChanged(
const KisNode *node,
const QRect &
rect,
bool recursive);
99 void setDefaultProjectionColor(
const KoColor &color);
116 void setActivePlaybackRange(
const KisTimeSpan range);
118 int framerate()
const;
120 QString exportSequenceFilePath();
121 void setExportSequenceFilePath(
const QString &filePath);
123 QString exportSequenceBaseName();
124 void setExportSequenceBaseName(
const QString &baseName);
126 int exportInitialFrameNumber();
127 void setExportInitialFrameNumber(
const int frameNum);
129 QSet<int> activeLayerSelectedTimes();
130 void setActiveLayerSelectedTimes(
const QSet<int> ×);
148 void blockBackgroundFrameGeneration();
155 void unblockBackgroundFrameGeneration();
162 bool backgroundFrameGenerationBlocked()
const;
181 void lockFrameGeneration();
188 void unlockFrameGeneration();
195 bool tryLockFrameGeneration();
199 STAO_USE_UNDO = 1 << 1,
200 STAO_FORCE_REGENERATION = 1 << 2
210 void switchCurrentTimeAsync(
int frameId, SwitchTimeAsyncFlags options = STAO_NONE);
212 void setDocumentRangeStartFrame(
int column);
213 void setDocumentRangeEndFrame(
int column);
215 void setFramerate(
int fps);
264 friend class KisAnimationFrameCacheTest;
266 friend class KisImageTest;
267 void saveAndResetCurrentTime(
int frameId,
int *savedValue);
268 void restoreCurrentTime(
int *savedValue);
269 void notifyFrameReady();
270 void notifyFrameCancelled();
271 void notifyFrameRegenerated();
272 bool requiresOnionSkinRendering();
276 void blockFrameInvalidation(
bool value);
280 void explicitlySetCurrentTime(
int frameId);
282 const QScopedPointer<Private>
m_d;