Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Miso

problems selecting entities in a picture

This topic is 6497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. Imagine a little program that reads and displays a drawing in DXF format. The picture consists only of lines, circles and arcs. Now, I would like to pick (select) an entinty with my mouse. How do I do it? Something like AutoCad does --> the cursor changes into a small rectangle so that it is easier to "hit" the entity. The program automatically figures out which entity you selected. Does the program have to process all the pixels in the rectangle cursor and look for the right entity? I hope I have explained my problem so that someone can understand it. If it is not clear, please e-mail me and I will try to rewrite it. Thanks for help.

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!