update : 2015.11.03
php.shukuma.com

검색:
 
 
Draws a curve

ps_curveto

(PECL ps >= 1.1.0)

ps_curvetoDraws a curve

설명

bool ps_curveto ( resource $psdoc , float $x1 , float $y1 , float $x2 , float $y2 , float $x3 , float $y3 )

Add a section of a cubic Bézier curve described by the three given control points to the current path.

인수

psdoc

Resource identifier of the postscript file as returned by ps_new().

x1

x-coordinate of first control point.

y1

y-coordinate of first control point.

x2

x-coordinate of second control point.

y2

y-coordinate of second control point.

x3

x-coordinate of third control point.

y3

y-coordinate of third control point.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고