Description
Gets this path's array of points. The array
contains the endpoints and control points of the lines and
Bézier splines that are used to draw the path.
Syntax
GpStatus WINGDIPAPI GdipGetPathPoints(
GpPath* path,
GpPointF* points,
INT count
);
PowerBASIC Syntax
DECLARE FUNCTION GdipGetPathPoints ( _
BYVAL path AS
DWORD, _
BYREF pPoints AS
PointF, _
BYVAL count AS
LONG _
) AS LONG
Parameters
path
[in] Pointer to a GraphicsPath
object.
points
[out] Pointer to an array of
PointF
structures that receives the data points. You must allocate memory for
this array. You can call the GdipGetPointCount
function to determine the required size of the array. The size, in
bytes, should be the return value of GdipGetPointCount
multiplied by sizeof(PointF).
count
[in] Long integer value that specifies the
number of elements in the points array. Set this
parameter equal to the return value of the GdipGetPointCount
function.
|