|
-
Jul 22nd, 2001, 08:26 AM
#1
Thread Starter
Member
Selecting shapes drawn by GDI
I have a picturebox in my form and GDI draws geometrical shapes (arc, ellipse,rectangle etc.) and when user clicks on one of them (but when clicks the bound of the shape not the area that located inside the bounds) like in AutoCAD. For example : clicks on an arc, my app gets it as selecteditem = arc1 .
I can do that only with rectangle, line, triangle (shapes made by line/lines) But I can`t calculate an ellipse`s bounds cause it isn`t made with edges.
Please share the ideas with me if you have about how to do ,
Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|