PDA

Click to See Complete Forum and Search --> : Graphics problem


Buzz1982
Oct 16th, 2002, 02:54 PM
Hi,
can any one tell me that how can i acheive the following thing,

i have a picture box with some drawing in it.now i have an option
that user can select a shape for example filled circle from the
toolbar present in the program with the help of mouse and
place it on the pre drawn drawings in the picture box
(this is all happening at run time) if the user again clicks the
mouse button the circle shape is removed and the actual shapes
behind the circle are displayed again.How can i acheive this.
please help. One solution is using Xor pen mode but it changes the original color of the shape.give me some other solution that can work.

CornedBee
Oct 18th, 2002, 02:37 PM
Save each shape drawn and if the user clicks one remove it from the list and redraw all others.