|
-
Jul 26th, 2014, 11:16 AM
#26
Fanatic Member
Re: Very Simple Drawing Program
Hi all,
I'd like to through in a little extra challenge to this nice little vectorial drawing example app. In this current example, it is not possible to move, modify or delete drawn objects (line, rectangle, ellipse, whatever...). Although being able to modify these objects would imply lots of extra code, the first step is to add some code that will allow users to 'select' drawn objects. That's what I'm interested in.
I seriously gave a lot of thoughts about that, and so far what I came up with is not simple, nor very performant I'm afraid. The source of the problem is to define an efficient way to find out if the mouse cursor if over a drawn object, and which one. Unless the GDI+ has some feature I don't know about the addresses just that (which may be possible, given the fact I'm just starting with VB.NET...).
Any thoughts?
Thanks!
Don't ask why, just reboot!
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
|