Home  /  Questions  /  Question



50   50
Jul 09, 2010


Pattern for Editing Images

Hi

Does anyone know of a pattern to help editing images and maintain the state of each change made on that image?
Any suggestions appreciated.

Thanks,
Mauro



50   50
Jul 10, 2010
thanks for your suggestion

203   96.8
Jul 09, 2010
That's an easy one: use the Command Pattern. This will allow you to push and pop a multi-level set of commands onto a stack.

See here for more information on Undo, Redo, Command: http://en.wikipedia.org/wiki/Undo

Hope this helps.