Export (0) Print
Expand All

GraphicsPathIterator class

Applies to: desktop apps only

This GraphicsPathIterator class provides methods for isolating selected subsets of the path stored in a GraphicsPath object. A path consists of one or more figures. You can use a GraphicsPathIterator to isolate one or more of those figures. A path can also have markers that divide the path into sections. You can use a GraphicsPathIterator object to isolate one or more of those sections.

Members

The GraphicsPathIterator class inherits from GdiplusBase. GraphicsPathIterator also has these types of members:

Constructors

The GraphicsPathIterator class has these constructors.

ConstructorDescription
GraphicsPathIterator::GraphicsPathIterator

Creates a new GraphicsPathIterator::GraphicsPathIterator object and associates it with a GraphicsPath object.

 

Methods

The GraphicsPathIterator class has these methods.

MethodDescription
GraphicsPathIterator::CopyData

The GraphicsPathIterator::CopyData method copies a subset of the path's data points to a PointF array and copies a subset of the path's point types to a BYTE array.

GraphicsPathIterator::Enumerate

The GraphicsPathIterator::Enumerate method copies the path's data points to a PointF array and copies the path's point types to a BYTE array.

GraphicsPathIterator::GetCount

The GraphicsPathIterator::GetCount method returns the number of data points in the path.

GraphicsPathIterator::GetLastStatus

The GraphicsPathIterator::GetLastStatus method returns a value that indicates the nature of this GraphicsPathIterator object's most recent method failure.

GraphicsPathIterator::GetSubpathCount

The GraphicsPathIterator::GetSubpathCount method returns the number of subpaths (also called figures) in the path.

GraphicsPathIterator::HasCurve

The GraphicsPathIterator::HasCurve method determines whether the path has any curves.

GraphicsPathIterator::NextMarker(GraphicsPath*)

The GraphicsPathIterator::NextMarker method gets the next marker-delimited section of this iterator's associated path.

GraphicsPathIterator::NextMarker(INT*,INT*)

The GraphicsPathIterator::NextMarker method gets the starting index and the ending index of the next marker-delimited section in this iterator's associated path.

GraphicsPathIterator::NextPathType

The GraphicsPathIterator::NextPathType method gets the starting index and the ending index of the next group of data points that all have the same type.

GraphicsPathIterator::NextSubpath(GraphicsPath*,BOOL*)

The GraphicsPathIterator::NextSubpath method gets the next figure (subpath) from this iterator's associated path.

GraphicsPathIterator::NextSubpath(INT*,INT*,BOOL*)

The GraphicsPathIterator::NextSubpath method gets the starting index and the ending index of the next subpath (figure) in this iterator's associated path.

GraphicsPathIterator::Rewind

The GraphicsPathIterator::Rewind method rewinds this iterator to the beginning of its associated path.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft