Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

GraphicsPath.PathTypes question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 26 Aug 2005 01:30 GMT
I want to follow a GraphicsPath and put little visual mark every.. some
distance...
I found 2 handy properties:

GraphicsPath.PathPoints
GraphicsPath.PathTypes

where the data seems to be stored as curve, line, bezier, and so on.
I have one problem with GraphicsPath.PathTypes thought.
It has some values, such as 0, 1, 3, 131, etc.....
helpfully the documentation states:
"A an array of bytes that specify the types of the corresponding points in
the path."

mmhh.. :-/ Is there a place where I could find the possible value of these
bytes and their meaning?
Lloyd Dupont - 26 Aug 2005 02:01 GMT
I finally found it in GdiPlus documentation:
"[in] Pointer to an array of bytes that holds the point type and a set of
flags for each point in the points array. The point type is stored in the
three least significant bits, and the flags are stored in the four most
significant bits. Possible point types and flags are listed in the
PathPointType enumeration.
"
And there is a PathPointType enum available in .NET as well, cool!

>I want to follow a GraphicsPath and put little visual mark every.. some
>distance...
[quoted text clipped - 12 lines]
> mmhh.. :-/ Is there a place where I could find the possible value of these
> bytes and their meaning?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.