Home > PHP > Function > PDF > PDF_curveto()

PDF_curveto()

PDF_curveto - Draw Bezier curve

Syntax

bool PDF_curveto (resource $p, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3)

Arguments

  • p - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x1 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y1 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x2 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y2 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • x3 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • y3 - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Draws a Bezier curve from the current point, using 3 more control points. Returns TRUE on success or FALSE on failure.

Version

PHP 4, PECL pdflib >= 1.0.0

Return value