PATHOBJ_bEnum (Compact 2013)

3/26/2014

This function retrieves the next record from a PATHDATA structure for a specified path and enumerates the curves in the path.

Syntax

BOOL PATHOBJ_bEnum(
  PATHOBJ* ppo,
  PATHDATA* ppd
);

Parameters

  • ppo
    [in] Pointer to a PATHOBJ structure that contains curves or lines to enumerate.
  • ppd
    [out] Pointer to a PATHDATA structure that is to be filled.

Return Value

This function returns TRUE if the specified path contains more PATHDATA records. Under this condition, you should call the PATHOBJ_bEnum function again. If the output is the last PATHDATA record in the path, this function returns FALSE.

Remarks

You can only call the PATHOBJ_bEnum function after you call the PATHOBJ_vEnumStart function.

A PATHDATA structure describes all or part of the connected part of a path, also known as a subpath. For example, a new subpath begins when an application calls the MoveTo function within a path.

Requirements

Header

winddi.h

Library

Ddi_ati_lib.lib,
Ddi_flat_lib.lib,
Ddi_gx_lib.lib,
Ddi_mq200_lib.lib,
Ddi_nop_lib.lib,
Ddi_rflat_lib.lib,
Ddi_rgx_lib.lib,
Ddi_tvia5_lib.lib

See Also

Reference

GDI Functions for Display Drivers
PATHOBJ_vEnumStart