HighTechTalks DotNet Forums  

Re: help in Drawing a polygon

Dotnet Framework (Drawing) microsoft.public.dotnet.framework.drawing


Discuss Re: help in Drawing a polygon in the Dotnet Framework (Drawing) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bob Powell [MVP]
 
Posts: n/a

Default Re: help in Drawing a polygon - 09-20-2005 , 03:50 PM






From your description I think you're trying to drag the points around?

The editing system you use needs to be aware that the figure you're editing
is a closed figure.

Perhaps if you post your code we can se where you're going wrong.

--
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.





"sravinut" <sravinut.1voale (AT) no-mx (DOT) msusenet.com> wrote

Quote:
Hi,

I am drawing a polygon by connecting a series of points. I am storing
points in an Arraylist variable. On mousedown i am capturing points
and storing the same in Arraylist.

I drew a traingle with four points and three lines. by last point and
first point are same.
After drawing polygon (say a triangle) when i tried to stretch either
the second point or third point it is working fine.

but if i tried to stretch the first point i expect both lines to
stretch (first and third). but it is not doing so. only the first line
being stretched. I am doing this in C#.

Where did i go wrong.

Can any body help.

Thanks in advance.


--
sravinut





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.