Description
Gets the starting index and the ending index of
the next subpath (figure) in this iterator's associated path.
Syntax
GpStatus WINGDIPAPI GdipPathIterNextSubpath(
GpPathIterator*
iterator,
INT
*resultCount,
INT* startIndex,
INT* endIndex,
BOOL* isClosed
);
PowerBASIC Syntax
DECLARE FUNCTION GdipPathIterNextSubpath ( _
BYVAL iterator
AS DWORD, _
BYREF
resultCount AS LONG, _
BYREF
startIndex AS LONG, _
BYREF endIndex
AS LONG, _
BYREF isClosed
AS LONG _
) AS LONG
Parameters
iterator
[in] Pointer to the
GraphicsPathIterator
object.
resultCount
[out] Number of data points in the
next figure. If there are no more figures in the path, this method
returns 0.
pathType
[out] Pointer to a BYTE
that receives the point type shared by all points in the group.
Possible values are PathPointTypeLine and PathPointTypeBezier, which are elements of the PathPointType
enumeration.
startIndex
[out] Pointer to an
LONG
that receives the starting index.
endIndex
[out] Pointer to an
LONG
that receives the ending index.
isClosed
[out] Pointer to a LONG
that receives a boolean value that indicates whether the obtained
figure is closed. If the figure is closed, the received value is TRUE;
otherwise, the received value is FALSE.
|