|
Krita Source Code Documentation
|
Inheritance diagram for KisSuspendProjectionUpdatesStrokeStrategy::Private::StartBatchUIUpdatesCommand:Public Attributes | |
| KisSuspendProjectionUpdatesStrokeStrategy * | m_strategy |
Public Attributes inherited from KisSuspendProjectionUpdatesStrokeStrategy::Private::StrokeJobCommand | |
| KisStrokeJobData::Exclusivity | m_exclusivity |
| KisStrokeJobData::Sequentiality | m_sequentiality |
Definition at line 329 of file kis_suspend_projection_updates_stroke_strategy.cpp.
|
inline |
Definition at line 331 of file kis_suspend_projection_updates_stroke_strategy.cpp.
|
inlineoverridevirtual |
Applies a change to the document. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls redo() on all child commands.
We accumulate dirty rects from all(!) epochs, because some updates of the previous epochs might have been cancelled without doing any real work.
Reimplemented from KUndo2Command.
Definition at line 335 of file kis_suspend_projection_updates_stroke_strategy.cpp.
References KisRunnableStrokeJobsInterface::addRunnableJobs(), KisImage::bounds(), KisImageSignalRouter::emitNotifyBatchUpdateStarted(), KisImage::enableUIUpdates(), KisSuspendProjectionUpdatesStrokeStrategy::Private::image, KIS_SAFE_ASSERT_RECOVER_RETURN, KisSuspendProjectionUpdatesStrokeStrategy::m_d, m_strategy, KritaUtils::optimalPatchSize(), KisRunnableBasedStrokeStrategy::runnableJobsInterface(), KisImage::signalRouter(), and KisPaintOpUtils::splitAndFilterDabRect().
|
inlineoverridevirtual |
Reverts a change to the document. After undo() is called, the state of the document should be the same as before redo() was called. This function must be implemented in the derived class. Calling KUndo2QStack::push(), KUndo2QStack::undo() or KUndo2QStack::redo() from this function leads to undefined behavior.
The default implementation calls undo() on all child commands in reverse order.
Reimplemented from KUndo2Command.
Definition at line 366 of file kis_suspend_projection_updates_stroke_strategy.cpp.
References KisImage::disableUIUpdates(), KisImageSignalRouter::emitNotifyBatchUpdateEnded(), KisSuspendProjectionUpdatesStrokeStrategy::Private::image, KIS_SAFE_ASSERT_RECOVER_RETURN, KisSuspendProjectionUpdatesStrokeStrategy::m_d, m_strategy, and KisImage::signalRouter().
| KisSuspendProjectionUpdatesStrokeStrategy* KisSuspendProjectionUpdatesStrokeStrategy::Private::StartBatchUIUpdatesCommand::m_strategy |
Definition at line 374 of file kis_suspend_projection_updates_stroke_strategy.cpp.