JGraph, GEF or something similar for c#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andi

    JGraph, GEF or something similar for c#

    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
  • Bob Powell [MVP]

    #2
    Re: JGraph, GEF or something similar for c#

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



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

    Ramuseco Limited .NET consulting


    Find great Windows Forms articles in Windows Forms Tips and Tricks


    Answer those GDI+ questions with the GDI+ FAQ


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


    "Andi" <andreas.schnei der@skillworks. dewrote in message
    news:c1231146-260a-4a1b-b67f-456ddb43eaea@i7 g2000prf.google groups.com...
    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

    Comment

    • Andi

      #3
      Re: JGraph, GEF or something similar for c#

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

      e.Graphics.Scal eTransform(scal eFactor, scaleFactor);

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


      On 11 Feb., 12:17, "Bob Powell [MVP]" <b...@spamkille rbobpowell.net>
      wrote:
      You might be interested in the article on hit-testig lines in the GDI+ FAQ.
      >

      >
      --
      --
      Bob Powell [MVP]
      Visual C#, System.Drawing
      >
      Ramuseco Limited .NET consultinghttp://www.ramuseco.co m
      >
      Find great Windows Forms articles in Windows Forms Tips and Trickshttp://www.bobpowell.n et/tipstricks.htm
      >
      Answer those GDI+ questions with the GDI+ FAQhttp://www.bobpowell.n et/faqmain.htm
      >
      All new articles provide code in C# and VB.NET.
      Subscribe to the RSS feeds provided and never miss a new article.
      >
      "Andi" <andreas.schnei ...@skillworks. dewrote in message
      >
      news:c1231146-260a-4a1b-b67f-456ddb43eaea@i7 g2000prf.google groups.com...
      >
      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

      Comment

      Working...