PHP Manual
Prev |  | Next

# cpdf_moveto

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

cpdf_moveto -- Sets current point

## Description

``void cpdf_moveto` (int pdf document, float x-coor, float y-coor [, int mode])`

The cpdf_moveto() function set the current point to the coordinates `x-coor` and `y-coor`.

The optional parameter `mode` determines the unit length. If it's 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit.

Prev | Home | Next
cpdf_lineto | Up | cpdf_newpath