Method function IGDIPlus.IGPGraphicsPathIterator.NextSubpath(Integer;Integer;bool) : Integer

From Mitov Wiki Doc
Jump to: navigation, search

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( startIndex : Integer, endIndex : Integer, isClosed : bool ) : Integer;

C++ Builder:

int __fastcall NextSubpath( int startIndex, int endIndex, bool isClosed );

Visual C++ (MFC):

NextSubpath(  startIndex,  endIndex,  isClosed );

Summary

Returns the starting index and the ending index of the next subpath (figure) in the iterator's associated path.

Description

Call this method to get the starting index and the ending index of the next subpath (figure) in the iterator's associated path. Remarks The first time you call the NextSubpath method of an iterator, it gets the indices for the first figure (subpath) of that iterator's associated path. The second time, it gets the indices for the second figure, and so on. Each time you call NextSubpath, it returns the number of data points in the figure whose indices were retrieved. When there are no figures remaining, it returns 0.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox