Manual do PHP
Anterior |  | Próxima

# ps_moveto

(PECL)

ps_moveto -- Sets current point

## Descrição

bool ps_moveto ( resource psdoc, float x, float y )

Sets the current point to new coordinates. If this is the first call of ps_moveto() 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.

## Parâmetros

`psdoc`

  Resource identifier of the postscript file as returned by ps_new().

`x`

  x-coordinate of the point to move to.

`y`

  y-coordinate of the point to move to.

## Valores de retornado

Retorna `TRUE` em caso de sucesso ou `FALSE` em falhas.

## Veja também

ps_lineto()

Anterior | Principal | Próxima
ps_makespotcolor | Acima | ps_new