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

说明

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

本函数还未编写文档,仅有参数列表。

参见

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

User Contributed Notes

Anonymous 19-Nov-2008 06:36
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