|
Krita Source Code Documentation
|
#include <KisTransactionWrapperFactory.h>
Inheritance diagram for KisTransactionWrapperFactory:Public Member Functions | |
| virtual KUndo2Command * | createBeginTransactionCommand (KisPaintDeviceSP device)=0 |
| virtual KUndo2Command * | createEndTransactionCommand ()=0 |
| virtual | ~KisTransactionWrapperFactory () |
A simple factory that allows wrapping a paint device transaction with two commands. One command will be executed before the device transaction's code, and the other one after the transaction has been executed.
The only use of this class now is to change/reset interstroke data of a paint device alongside executing the transaction.
Definition at line 24 of file KisTransactionWrapperFactory.h.
|
virtual |
Definition at line 9 of file KisTransactionWrapperFactory.cpp.
|
pure virtual |
Implemented in KisInterstrokeDataTransactionWrapperFactory.
|
pure virtual |
Implemented in KisInterstrokeDataTransactionWrapperFactory.