GraphicsPathIterator Class

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.

Methods

The GraphicsPathIterator class has these methods.

Method Description
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::GraphicsPathIterator Creates a new GraphicsPathIterator::GraphicsPathIterator object and associates it with a GraphicsPath object.
GraphicsPathIterator::GraphicsPathIterator Creates a new GraphicsPathIterator::GraphicsPathIterator object and associates it with a GraphicsPath object.
GraphicsPathIterator::HasCurve The GraphicsPathIterator::HasCurve method determines whether the path has any curves.
GraphicsPathIterator::NextMarker The GraphicsPathIterator::NextMarker method gets the starting index and the ending index of a section.
GraphicsPathIterator::NextMarker The GraphicsPathIterator::NextMarker method gets the next marker-delimited section of 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 The GraphicsPathIterator::NextSubpath method gets the starting index and the ending index of the next subpath.
GraphicsPathIterator::NextSubpath The GraphicsPathIterator::NextSubpath method gets the next figure (subpath) from this iterator's associated path.
GraphicsPathIterator::Rewind The GraphicsPathIterator::Rewind method rewinds this iterator to the beginning of its associated path.

Requirements

   
Target Platform Windows
Header gdipluspath.h