开发者

ipad onscreen drawing undo issue

开发者 https://www.devze.com 2023-03-15 08:23 出处:网络
I\'m developing an ipad on screen drawing application using openGL. I was able to program the drawing part but don\'t know how to create th开发者_开发技巧e undo action.

I'm developing an ipad on screen drawing application using openGL. I was able to program the drawing part but don't know how to create th开发者_开发技巧e undo action.

simply I want to undo one by one(painted parts) by clicking the undo button. I'm using EAGLContext to draw on the screen.

Please help me to solve the problem.

Thank you

Hassy.


It's mostly up to you. You should use NSUndoManager to manage this, but you're free to set up your undo/redo actions as you wish.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号