Description
Adds a Bézier spline to the current
figure of this path.
Syntax
GpStatus WINGDIPAPI GdipAddPathBezier(
GpPath *path,
REAL x1,
REAL y1,
REAL x2,
REAL y2,
REAL x3,
REAL y3,
REAL x4,
REAL y4
);
PowerBASIC Syntax
DECLARE FUNCTION GdipAddPathBezier ( _
BYVAL path AS
DWORD, _
BYVAL x1 AS
SINGLE, _
BYVAL y1 AS
SINGLE, _
BYVAL x2 AS
SINGLE, _
BYVAL y2 AS
SINGLE, _
BYVAL x3 AS
SINGLE, _
BYVAL y3 AS
SINGLE, _
BYVAL x4 AS
SINGLE, _
BYVAL y4 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 Bézier spline.
y1
[in] Simple precision value that specifies the
y-coordinate of the starting point of the Bézier spline.
x2
[in] Simple precision value that specifies the
x-coordinate of the first control point of the Bézier
spline.
y2
[in] Simple precision value that specifies the
y-coordinate of the first control point of the Bézier
spline.
x3
[in] Real number that specifies the
x-coordinate of the second control point of the Bézier
spline.
y3
[in] Simple precision value that specifies the
y-coordinate of the second control point of the Bézier
spline.
x4
[in] Simple precision value that specifies the
x-coordinate of the ending point of the Bézier spline.
y4
[in] Simple precision value that specifies the
y-coordinate of the ending point of the Bézier spline.
|