Your intentions are not very clear.
I guess that you're editing a user-drawn shape of some kind? Storing the
shape as a GraphicsPath probably isn't very efficient.
You can draw a path using Graphics.DrawPath and fill it using
Graphics.FillPath.
Perhaps you should explain a bit more.
--
Bob Powell [MVP]
Visual C#, System.Drawing
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.
<James dean> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
When i draw a path with many points the editing becomes slow. I ran
devPartner and it said that the GDI+ method "GetPathPoints" was taking
up alot of processing time. Also GetPathOutline is slow. Has anybody got
advice on the most efficient way to draw paths in C#.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!