GdipGetPathData

 

 

Description

Gets an array of points and an array of point types from this path. Together, these two arrays define the lines, curves, figures, and markers of this path.

Syntax

GpStatus WINGDIPAPI GdipGetPathData(

    GpPath *path,

    GpPathData* pathData

);

PowerBASIC Syntax

DECLARE FUNCTION GdipGetPathData ( _

    BYVAL path AS DWORD, _

    BYREF pData AS PathData _

) AS LONG

Parameters

 

path

[in] Pointer to a GraphicsPath object.

pathData

[out] Pointer to a PathData structure that receives the path data. The Points data member of the PathData structure receives a pointer to an array of PointF structures that contains the path points. The Types data member of the PathData structure receives a pointer to an array of bytes that contains the point types. The Count data member of the PathData structure receives an integer that indicates the number of elements in the Points array.

Remarks

A GraphicsPath object has an array of points and an array of types. Each element in the array of types is a byte that specifies the point type and a set of flags for the corresponding element in the array of points. Possible point types and flags are listed in the PathPointType enumeration.

 

Valid HTML 4.01 Transitional