PATHOBJ_bEnum

BOOL PATHOBJ_bEnum(

IN PATHOBJ *ppo,
OUT PATHDATA *ppd
);

PATHOBJ_bEnum retrieves the next PATHDATA record from a specified path and enumerates the curves in the path.

Parameters

ppo

Points to a PATHOBJ whose curves and/or lines are to be enumerated.

ppd

Points to a PATHDATA structure that is to be filled.

Return Value

The return value is TRUE if the specified path contains more PATHDATA records, indicating that this service should be called again. Otherwise, if the output is the last PATHDATA record in the path, the return value is FALSE.

Comments

PATHOBJ_bEnum can be called only after a call to PATHOBJ_vEnumStart has been made.

A PATHDATA record describes all or part of a subpath (a connected part of a path). For example, a MoveTo call by the application within a path begins a new subpath.

See Also

PATHDATA, PATHOBJ, PATHOBJ_vEnumStart, PATHOBJ_vEnumStartClipLines