<!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>Rotate the current transformation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.swf-removeobject.html">swf_removeobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-scale.html">swf_scale</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-rotate" class="refentry"> <div class="refnamediv"> <h1 class="refname">swf_rotate</h1> <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">swf_rotate</span> — <span class="dc-title">Rotate the current transformation</span></p> </div> <div class="refsect1 description" id="refsect1-function.swf-rotate-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_rotate</strong></span> ( <span class="methodparam"><span class="type">float</span> <code class="parameter">$angle</code></span> , <span class="methodparam"><span class="type">string</span> <code class="parameter">$axis</code></span> )</div> <p class="para rdfs-comment"> Rotates the current transformation by a given <em><code class="parameter">angle</code></em> around the given <em><code class="parameter">axis</code></em>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.swf-rotate-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">angle</code></em></span> <dd> <p class="para"> The rotation angle. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">axis</code></em></span> <dd> <p class="para"> The axis. Valid values axis are <em>x</em> (the x axis), <em>y</em> (the y axis) or <em>z</em> (the z axis). </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.swf-rotate-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="function.swf-removeobject.html">swf_removeobject</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.swf-scale.html">swf_scale</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>