Hi,
I am trying to make a crop tool for a picture. Right now, Im making the actual crop tool. I want it to be a simple box that is draggable & resizes to the mouse over a picture(box).
Ive tried many different things and nothing has worked (or worked well):
I tried using graphics, but I needed to clear the graphics so that the past boxes wont be seen (so that it drags). However, when I cleared the graphics, it cleared the image in the picturebox.
So I made it DrawImage each time it cleared... But this made it so flashy you couldnt see the dragging of the box (especially since Im working with big picture files).
I also tried resizing labels to look like lines... But this too was too slow and didnt seem like it was a good way to do it.
I would appreciate any help any one could give, primarily on how to keep an image loaded while clearing the graphics on it. Or, how to have "layers" of graphics so that I could clear "Layer 2 - The Crop Tool" but not "Layer 1 - The Image".
Thanks in advance.
(Btw - I love the new look of the site. Good job!)
I am trying to make a crop tool for a picture. Right now, Im making the actual crop tool. I want it to be a simple box that is draggable & resizes to the mouse over a picture(box).
Ive tried many different things and nothing has worked (or worked well):
I tried using graphics, but I needed to clear the graphics so that the past boxes wont be seen (so that it drags). However, when I cleared the graphics, it cleared the image in the picturebox.
So I made it DrawImage each time it cleared... But this made it so flashy you couldnt see the dragging of the box (especially since Im working with big picture files).
I also tried resizing labels to look like lines... But this too was too slow and didnt seem like it was a good way to do it.
I would appreciate any help any one could give, primarily on how to keep an image loaded while clearing the graphics on it. Or, how to have "layers" of graphics so that I could clear "Layer 2 - The Crop Tool" but not "Layer 1 - The Image".
Thanks in advance.
(Btw - I love the new look of the site. Good job!)