urg...another question - Clearing specific areas?
I hate to make so many topics, but I'm sure you're glad to help ;)
So, my question is; is it possible to click to clear one area on a picturebox? It would be used as an eraser for a drawing. I've just used white on a white background in the past, but that's just painting over in white.
Re: urg...another question - Clearing specific areas?
which is ok if the drawings don't overlap
one possible solution is to keep all the drawing parameters in an array or collection, so they can be redrawn, after cls, less the ones you want to errase
Re: urg...another question - Clearing specific areas?
I think a really easy way is to draw a filled box in the form's bkg color, no?
Re: urg...another question - Clearing specific areas?
Yes, that is like what MS Paint does.. You can "erase" with a circle or a square region as a "eraser brush". Just paint with your background color to simulate erasing.