JGraph, GEF or something similar for c#

A

Andi

Hi,

I need to develop a user control which displays some rectangles and
polygons. To draw something like this seems to be easy but I need the
functionality that the user can click on some lines to select these
lines of a polygon them. Is there a framework available like eclipse
GEF or JGraph in Java.

Thanks for every hint
Andreas
 
B

Bob Powell [MVP]

You might be interested in the article on hit-testig lines in the GDI+ FAQ.

http://www.bobpowell.net/hittestlines.htm

--
--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
A

Andi

Thanks for the answer. That sounds good. I have just one more problem.
I am using

e.Graphics.ScaleTransform(scaleFactor, scaleFactor);

to scale my picture. Is it possible to overgive this factor in some
way?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top