<!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>Draw a quadratic bezier curve between two points</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-shapecurveto3.html">swf_shapecurveto3</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-shapefillbitmapclip.html">swf_shapefillbitmapclip</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.swf-shapecurveto" class="refentry"> <div class="refnamediv"> <h1 class="refname">swf_shapecurveto</h1> <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">swf_shapecurveto</span> — <span class="dc-title">Draw a quadratic bezier curve between two points</span></p> </div> <div class="refsect1 description" id="refsect1-function.swf-shapecurveto-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>swf_shapecurveto</strong></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$x1</code></span> , <span class="methodparam"><span class="type">float</span> <code class="parameter">$y1</code></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> )</div> <p class="para rdfs-comment"> Draws a quadratic bezier curve from the current location, though the two given points. </p> <p class="para"> The current position is then set to the point defined by the <em><code class="parameter">x2</code></em> and <em><code class="parameter">y2</code></em> parameters. </p> </div> <div class="refsect1 parameters" id="refsect1-function.swf-shapecurveto-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">x1</code></em></span> <dd> <p class="para"> x-coordinate of the first point. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">y1</code></em></span> <dd> <p class="para"> y-coordinate of the first point. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">x2</code></em></span> <dd> <p class="para"> x-coordinate of the second 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 point. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.swf-shapecurveto-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> No value is returned. </p> </div> <div class="refsect1 seealso" id="refsect1-function.swf-shapecurveto-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.swf-shapecurveto3.html" class="function" rel="rdfs-seeAlso">swf_shapecurveto3()</a> - Draw a cubic bezier curve</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-shapecurveto3.html">swf_shapecurveto3</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-shapefillbitmapclip.html">swf_shapefillbitmapclip</a></div> <div class="up"><a href="ref.swf.html">SWF Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>