Windows Develop Bookmark and Share   
 index > Windows Forms General > How to compress pathtypes
 

How to compress pathtypes

Hi friends,

I am using C#.net.. i drawing logical data items (like
graphics.drawpath and graphics.drawstring)in a bitmap... how do reduce the
pathtypes...

I have one element.. it have two ellipse and two arc and three line.. how to
draw the elements.. without effecting one to another.. how do fill the path
without effecting arc please tell me way ..
smsurendar  Monday, April 07, 2008 5:14 AM

Hi smsurendar,

Based on my understanding, you want to draw series things such as Rectangle, Ellipse, Arc etc. And each of the shape you want to fill different color. If I have misunderstood you, please feel free to tell me, thanks.

You can draw and fill color each of them individually, and take advantage of the the point to connect them together, so they look like a one shape with different colors.

Hope this idea can help you !

Regards,

Roy Zhou

Roy Zhou - MSFT  Thursday, April 10, 2008 9:51 AM

Hi smsurendar,

Based on my understanding, you want to draw series things such as Rectangle, Ellipse, Arc etc. And each of the shape you want to fill different color. If I have misunderstood you, please feel free to tell me, thanks.

You can draw and fill color each of them individually, and take advantage of the the point to connect them together, so they look like a one shape with different colors.

Hope this idea can help you !

Regards,

Roy Zhou

Roy Zhou - MSFT  Thursday, April 10, 2008 9:51 AM
how do fill a path.. without disturbing .. i tried.. but i didnt get proper result
smsurendar  Friday, April 11, 2008 6:45 AM

You can use google to search for other answers

Custom Search

More Threads

• Windows Service - Run external program
• Help -> Check for Updates
• Question re RadioButton Controls to Function as a Set
• Toolstrip Objects Moved by VS.NET 2005
• Raise and UnRaise Control.MouseXXX event
• Converting WinForm application from 2003 to 2005
• Attach C# form to a HWND
• Panels Disappering and GDI
• System.Drawing.Printing.PrintDocument.Print() reprints previous page
• How to select which items in a ListView collection will be shown?