PHP 7.0.6 Released

SWFShape::drawCubic

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFShape::drawCubicDraws a cubic bezier curve using the current position and the three given points as control points

Description

int SWFShape::drawCubic ( float $bx , float $by , float $cx , float $cy , float $dx , float $dy )
Warning

This function is currently not documented; only its argument list is available.

See Also

  • SWFShape::drawCubicTo() - Draws a cubic bezier curve using the current position and the three given points as control points

User Contributed Notes

Anonymous
7 years ago
This function creates a simple bow in an Cartesian coordinate system using three points.

$bx: x-coordinate of starting point
$by: y-coordinate of starting point

$cx: x-coordinate of tanget
$cy: y-coordinate of tanget

$dx: x-coordinate of ending point
$dy: y-coordinate of ending point
To Top