PS_MOVETO(3) 1 PS_MOVETO(3)
ps_moveto - Sets current point
SYNOPSIS
bool ps_moveto (resource $psdoc, float $x, float $y)
DESCRIPTION
Sets the current point to new coordinates. If this is the first call of ps_moveto(3) after a previous path has been ended then it will
start a new path. If this function is called in the middle of a path it will just set the current point and start a subpath.
PARAMETERS
o $psdoc
- Resource identifier of the postscript file as returned by ps_new(3).
o $x
- x-coordinate of the point to move to.
o $y
- y-coordinate of the point to move to.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
ps_lineto(3).
PHP Documentation Group PS_MOVETO(3)