PS_CURVETO(3) 1 PS_CURVETO(3)
ps_curveto - Draws a curve
SYNOPSIS
bool ps_curveto (resource $psdoc, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3)
DESCRIPTION
Add a section of a cubic Bezier curve described by the three given control points to the current path.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $x1
- x-coordinate of first control point.
o $y1
- y-coordinate of first control point.
o $x2
- x-coordinate of second control point.
o $y2
- y-coordinate of second control point.
o $x3
- x-coordinate of third control point.
o $y3
- y-coordinate of third control point.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_lineto(3).
PHP Documentation Group PS_CURVETO(3)