cpdf_lineto

(PHP 3>= 3.0.8, PHP 4 , PHP 5)

cpdf_lineto -- Zeichnet eine Linie

Beschreibung

bool cpdf_lineto ( int PDF-Dokument, float x-koor, float y-koor [, int Modus])

Die Funktion cpdf_lineto() zeichnet eine Linie vom aktuellen Punkt zum Punkt mit den Koordinaten (x-koor, y-koor). Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.

The optional parameter mode determines the unit length. If it is 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.

Siehe auch: cpdf_moveto(), cpdf_rmoveto() und cpdf_curveto().