---
name: "PS_moveto"
section: "3"
platform: "linux"
package: "pslib-dev"
version: "0.4.8-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PS_moveto"
---

# PS\_moveto(3)

Sets current point

## NAME

PS\_moveto — Sets current point

## SYNOPSIS

\#include \<pslib.h\>

void PS\_moveto(PSDoc \*psdoc, float x, float y)

## DESCRIPTION

Sets the current point to new coordinates. If this is the first  call of [PS\_moveto(3)](/PS_moveto/3.md) 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.

## SEE ALSO

[PS\_lineto(3)](/PS_lineto/3.md)

## AUTHOR

This manual page was written by Uwe Steinmann uwe@steinmann.cx.
