I'm writing a graphic editing program in VB.Net 2005. I've written similar apps in VB6.0. Im having a whale of a time trying to figure out how to create an area selection lasso. (See the image if you don't know what I'm talking about.)
In VB6.0, I'd simply use a shape control to represent the selection box/lasso. There is no shape control in VB.Net. How are these selection boxes made without altering the underlying image in the picturebox? I mean if I had to draw the lasso on the picture box, then I'd need to grab a copy of the indicated area so that I could drop it back in place to erase the lasso as its size changed or if it were dismissed. That seems like a very slow way of doing things.
In VB6.0, I'd simply use a shape control to represent the selection box/lasso. There is no shape control in VB.Net. How are these selection boxes made without altering the underlying image in the picturebox? I mean if I had to draw the lasso on the picture box, then I'd need to grab a copy of the indicated area so that I could drop it back in place to erase the lasso as its size changed or if it were dismissed. That seems like a very slow way of doing things.