Forum und email

cpdf_rlineto

(PHP 4, PHP 5 <= 5.0.5)

cpdf_rlineto — Zeichnet eine Linie (relativ)

Beschreibung

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

Zeichnet eine Linie vom aktuellen Punkt zum angegebenen relativen 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.