<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Draws a quadratic Bezier curve</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.html">ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute</a></div> <div class="next" style="text-align: right; float: right;"><a href="imagickdraw.pathcurvetorelative.html">ImagickDraw::pathCurveToRelative</a></div> <div class="up"><a href="class.imagickdraw.html">ImagickDraw</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="imagickdraw.pathcurvetoquadraticbeziersmoothrelative" class="refentry"> <div class="refnamediv"> <h1 class="refname">ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</h1> <p class="verinfo">(PECL imagick 2.0.0)</p><p class="refpurpose"><span class="refname">ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</span> — <span class="dc-title">Draws a quadratic Bezier curve</span></p> </div> <div class="refsect1 description" id="refsect1-imagickdraw.pathcurvetoquadraticbeziersmoothrelative-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</strong></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y</code></span> )</div> <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is currently not documented; only its argument list is available. </p></div> <p class="para"> Draws a quadratic Bezier curve (using relative coordinates) from the current point to (x, y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolut or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point). At the end of the command, the new current point becomes the final (x, y) coordinate pair used in the polybezier. </p> </div> <div class="refsect1 parameters" id="refsect1-imagickdraw.pathcurvetoquadraticbeziersmoothrelative-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">x</code></em></span> <dd> <p class="para"> ending x coordinate </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">y</code></em></span> <dd> <p class="para"> ending y coordinate </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-imagickdraw.pathcurvetoquadraticbeziersmoothrelative-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.html">ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute</a></div> <div class="next" style="text-align: right; float: right;"><a href="imagickdraw.pathcurvetorelative.html">ImagickDraw::pathCurveToRelative</a></div> <div class="up"><a href="class.imagickdraw.html">ImagickDraw</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>