ConFoo: Call for paper is now Open

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

add a note add a note

User Contributed Notes 1 note

up
-1
Anonymous
5 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