Forum und email

cpdf_lineto

(PHP 4, PHP 5 <= 5.0.5)

cpdf_lineto — Zeichnet eine Linie

Beschreibung

bool cpdf_lineto ( int $PDF-Dokument , float $x_koor , float $y_koor [, int $Modus ] )

Zeichnet eine Linie vom aktuellen Punkt zum angegebenen Punkt.

Parameter Liste

pdf_document

The document handle, returned by cpdf_open().

x_koor

Die x-Koordinate des Zielpunktes

y_koor

Die y-Koordinate des Zielpunktes

mode

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.

Rückgabewerte

Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.