File: RotateBy.html

package info (click to toggle)
openlayer 2.1-2.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 3,392 kB
  • ctags: 2,317
  • sloc: ansic: 10,433; cpp: 9,890; xml: 109; makefile: 90; sh: 36
file content (7 lines) | stat: -rw-r--r-- 4,165 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transistional//EN"><html><head><title>OpenLayer Offline Manual</title><style type="text/css" media="all">@import "../CrystalStyle.css";</style><body bgcolor="FFFFFF" ><div align="center" style="pagestyle"><table width="60%"><tr><td><div class="parentLinks"><a href="../index.html">OpenLayer</a> | <a href="../Placement.html">Placement</a> | <a href="../Placement/RotateBy.html">RotateBy</a></div><br><div class="BigHeader">RotateBy</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><font color="#777733">void</font> <a href="../Placement/RotateBy.html"><font color="#0000CC">RotateBy</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">float</font> value )
<br></strong></div></td></tr></table>
<br>Changes the rotation angle of the Placement by the specified amount.
<br></div></div><br><div class="MediumHeader">Examples</div><br><div class="Code"><a href="../Placement.html"><font color="#0000CC">Placement</font></a>&nbsp;myPlacement(&nbsp;<a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a>(&nbsp;<font color="#994400">250.0</font>,&nbsp;<font color="#994400">100.0</font>&nbsp;),&nbsp;<font color="#994400">0.5</font>&nbsp;*&nbsp;AL_PI&nbsp;);
<br>
<br><font color="#999922">//&nbsp;Rotate&nbsp;myPlacement&nbsp;90&nbsp;decrees&nbsp;clockwise&nbsp;//</font>
<br>myPlacement.<a href="../Placement/RotateBy.html"><font color="#0000CC">RotateBy</font></a>(&nbsp;<font color="#994400">0.5</font>&nbsp;*&nbsp;AL_PI&nbsp;);</div><div class=""><br><br><div class="MediumHeader">Other functions of the class <a href="../Placement.html"><font color="#0000CC">Placement</font></a></div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td halign="center" class="funclist"><a href="../Placement/MoveBy.html">MoveBy</a></td><td width="65%" halign="center"><div class="smalltext">Moves the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/RotateBy.html">RotateBy</a></td><td width="65%" halign="center"><div class="smalltext">Rotates the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/StretchBy.html">StretchBy</a></td><td width="65%" halign="center"><div class="smalltext">Stretches the Position</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/GetDistance.html">GetDistance</a></td><td width="65%" halign="center"><div class="smalltext">Returns the distance between this Placement and an another one</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/SetPosition.html">SetPosition</a></td><td width="65%" halign="center"><div class="smalltext">Sets the position value of the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/GetPosition.html">GetPosition</a></td><td width="65%" halign="center"><div class="smalltext">Returns the position value of the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/SetRotation.html">SetRotation</a></td><td width="65%" halign="center"><div class="smalltext">Sets the rotation angle of the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/GetRotation.html">GetRotation</a></td><td width="65%" halign="center"><div class="smalltext">Returns the rotation angle of the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/SetStretch.html">SetStretch</a></td><td width="65%" halign="center"><div class="smalltext">Sets the stretching factor of the Placement</div></td></tr><tr><td halign="center" class="funclist"><a href="../Placement/GetStretch.html">GetStretch</a></td><td width="65%" halign="center"><div class="smalltext">Returns the stretching factor of the Placement</div></td></tr></table></div><br><div class=""><a href="../index.html">Back to the main page of the manual</a></div><br>Questions about RotateBy? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=RotateBy">here.</a></div></td></tr></table></body></html>