(PHP 4, PECL pdflib >= 1.0.0)
PDF_lineto — Draw a line
$p
$x
$y
Draws a line from the current point to another point. Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
TRUE
FALSE