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?