Interface IGDIPlus.IGPGraphicsPathIterator
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Contents |
Syntax
Delphi:
type IGPGraphicsPathIterator = interface
Summary
Interface to a TGPGraphicsPathIterator object.
Description
Defines interface to a TGPGraphicsPathIterator object.
The TGPGraphicsPathIterator class provides methods for isolating selected subsets of the path stored in a TGPGraphicsPath object. A path consists of one or more figures. You can use a TGPGraphicsPathIterator to isolate one or more of those figures. A path can also have markers that divide the path into sections. You can use a TGPGraphicsPathIterator object to isolate one or more of those sections.
Methods
- function NextSubpath(startIndex : Integer; endIndex : Integer; isClosed : bool) : Integer - Returns the starting index and the ending index of the next subpath (figure) in the iterator's associated path.
- function NextSubpath(path : IGPGraphicsPath; isClosed : Boolean) : Integer - Returns the next figure (subpath) from the iterator's associated path.
- function NextPathType(pathType : TGPPathPointType; startIndex : Integer; endIndex : Integer) : Integer - Returns the starting index and the ending index of the next group of data points that all have the same type.
- function NextMarker(startIndex : Integer; endIndex : Integer) : Integer - Returns the starting index and the ending index of the next marker-delimited section in the iterator's associated path.
- function NextMarker(path : IGPGraphicsPath) : Integer - Returns the next marker-delimited section of the iterator's associated path.
- function GetCount() : Integer - Returns the number of data points in the path.
- function GetSubpathCount() : Integer - Returns the number of subpaths (also called figures) in the path.
- function HasCurve() : Boolean - Determines whether the path has any curves.
- function Rewind() : TGPGraphicsPathIterator - Rewinds the iterator to the beginning of its associated path.
- function Enumerate(points : TGPPointFArray; types : TGPByteArray) : Integer - Returns the path's data points as a TGPPointF array and the path's point types as a BYTE array.
- function CopyData(points : PGPPointF; types : PBYTE; startIndex : Integer; endIndex : Integer) : Integer - 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.