SWFShape::drawCubic
(PHP 5 < 5.3.0, PECL ming SVN)
SWFShape::drawCubic — Draws 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
) : intWarning
本函数还未编写文档,仅有参数列表。
参见
- SWFShape::drawCubicTo() - Draws a cubic bezier curve using the current position and the three given points as control points

User Contributed Notes 1 note
Anonymous ¶
10 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