GdipAddPathLine

 

 

Description

Adds a line to the current figure of this path.

Syntax

GpStatus WINGDIPAPI GdipAddPathLine(

    GpPath *path,

    REAL x1,

    REAL y1,

    REAL x2,

    REAL y2

);

PowerBASIC Syntax

DECLARE FUNCTION GdipAddPathLine ( _

    BYVAL path AS DWORD, _

    BYVAL x1 AS SINGLE, _

    BYVAL y1 AS SINGLE, _

    BYVAL x2 AS SINGLE, _

    BYVAL y2 AS SINGLE _

) AS LONG

Parameters

 

path

[in] Pointer to a GraphicsPath object.

x1

[in] Simple precision value that specifies the x-coordinate of the starting point of the line.

y1

[in] Simple precision value that specifies the y-coordinate of the starting point of the line.

x2

[in] Simple precision value that specifies the x-coordinate of the ending point of the line.

y2

[in] Simple precision value that specifies the y-coordinate of the ending point of the line.

 

Valid HTML 4.01 Transitional