Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 8058

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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 cubic Bezier curve</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="imagickdraw.pathcurvetosmoothabsolute.html">ImagickDraw::pathCurveToSmoothAbsolute</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagickdraw.pathellipticarcabsolute.html">ImagickDraw::pathEllipticArcAbsolute</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.pathcurvetosmoothrelative" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ImagickDraw::pathCurveToSmoothRelative</h1>
  <p class="verinfo">(PECL imagick 2.0.0)</p><p class="refpurpose"><span class="refname">ImagickDraw::pathCurveToSmoothRelative</span> &mdash; <span class="dc-title">Draws a cubic Bezier curve</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-imagickdraw.pathcurvetosmoothrelative-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>ImagickDraw::pathCurveToSmoothRelative</strong></span>
    ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x2</code></span>
   , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y2</code></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 cubic Bezier curve from the current point to (x,y) using relative
   coordinates. The first control point is assumed to be the reflection of
   the second control point on the previous command relative to the current
   point. (If there is no previous command or if the previous command was not
   an DrawPathCurveToAbsolute, DrawPathCurveToRelative, 
   DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the
   first control point is coincident with the current point.) (x2,y2) is the
   second control point (i.e., the control point at the end of the curve). 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.pathcurvetosmoothrelative-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">x2</code></em></span>
     <dd>

      <p class="para">
       x coordinate of the second control point
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">y2</code></em></span>
     <dd>

      <p class="para">
       y coordinate of the second control point
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">x</code></em></span>
     <dd>

      <p class="para">
       x coordinate of the ending point
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">y</code></em></span>
     <dd>

      <p class="para">
       y coordinate of the ending point
      </p>
     </dd>

    </dt>

   </dl>

  </p>

 </div>

 <div class="refsect1 returnvalues" id="refsect1-imagickdraw.pathcurvetosmoothrelative-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.pathcurvetosmoothabsolute.html">ImagickDraw::pathCurveToSmoothAbsolute</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="imagickdraw.pathellipticarcabsolute.html">ImagickDraw::pathEllipticArcAbsolute</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>