PATHOBJ_bPolyLineTo function (winddi.h)

The PATHOBJ_bPolyLineTo function draws lines from the current position in a path through the specified points.

Syntax

ENGAPI BOOL PATHOBJ_bPolyLineTo(
  PATHOBJ  *ppo,
  POINTFIX *pptfx,
  ULONG    cptfx
);

Parameters

ppo

Pointer to the PATHOBJ structure created by the driver.

pptfx

Pointer to an array of POINTFIX structures that define control points. The first line is drawn from the current position to the first point in this array; lines are then drawn to each subsequent point in the array. For a description of this data type, see GDI Data Types.

cptfx

Specifies the count of points in pptfx. This is also the number of lines that will be added to the path.

Return value

The return value is TRUE if the function is successful. Otherwise, it is FALSE, and an error code is logged.

Remarks

PATHOBJ_bPolyLineTo should only be called with PATHOBJ structures created by EngCreatePath.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngCreatePath

PATHOBJ

PATHOBJ_bPolyBezierTo