Codeless Posted February 12, 2004 Posted February 12, 2004 Is there an "easiest" way to implement undo functionality after drawing a simple line? Quote Codeless ...it just goes on and on.
*Experts* Bucky Posted February 12, 2004 *Experts* Posted February 12, 2004 If the image is small enough, just store the entire image in a variable. If you want to undo the action, Dispose of the current image and set the Graphics object to the old image. Otherwise you could just draw right over the line with the same points and thickness, but with a color that matches it with its background. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.