Method function IGDIPlus.IGPGraphicsPathIterator.NextSubpath(IGPGraphicsPath;Boolean) : Integer
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.
Class: IGPGraphicsPathIterator
Contents |
Syntax
Delphi:
function NextSubpath( path : IGPGraphicsPath, isClosed : Boolean ) : Integer;
C++ Builder:
int __fastcall NextSubpath( IGPGraphicsPath path, bool isClosed );
Visual C++ (MFC):
NextSubpath( path, isClosed );
Summary
Returns the next figure (subpath) from the iterator's associated path.
Description
Call this method to get the next figure (subpath) from the iterator's associated path. Remarks The first time you call the NextSubpath method of an iterator, it gets the first figure (subpath) of that iterator's associated path. The second time, it gets the second figure, and so on. Each time you call NextSubpath, it returns the number of data points in the retrieved figure. When there are no figures remaining, it returns 0.