File: Transforms.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 (14 lines) | stat: -rw-r--r-- 3,887 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!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="Transforms.html">Transforms</a></div><br><div class="BigHeader">Transforms</div><br><div class="">Global placement and color transformations
<br>
<br>The old name for this class is Screen, which was changed in 1.8 for compability reasons. You can still use the old name by defining OL_USE_SCREEN_ALIAS before including OpenLayer.hpp.
<br>
<br>Note that the position transformations, color channels and clipping only apply to the objects which are rendered after the transformation is set. The tint color, on the other hand, will take effect during the next call to <a href="Canvas.html"><font color="#0000CC">Canvas</font></a>::<a href="<a href="Canvas.html"><font color="#0000CC">Canvas</font></a>/Refresh.html"><font color="#0000CC">Refresh</font></a>. 
<br>
<br>As usual, all positions are in pixels and angles in radians.
<br>
<br>For advanced users: Note that the original transformation state is stored in the matrix stack.</div><br><div class="MediumHeader">Member functions</div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td halign="center" class="funclist"><a href="Transforms/SetPosition.html">SetPosition</a></td><td width="65%" halign="center"><div class="smalltext">
Set the position of screen contents</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/SetRotation.html">SetRotation</a></td><td width="65%" halign="center"><div class="smalltext">
Set the rotational angle of the screen contents</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/SetRotationPivot.html">SetRotationPivot</a></td><td width="65%" halign="center"><div class="smalltext">
Selects the pivot point of the screen rotation</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/SetStretch.html">SetStretch</a></td><td width="65%" halign="center"><div class="smalltext">Sets the stretch factor of the screen</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/SetTintColor.html">SetTintColor</a></td><td width="65%" halign="center"><div class="smalltext">
Tints the whole screen to a color</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/ResetPlacement.html">ResetPlacement</a></td><td width="65%" halign="center"><div class="smalltext">Disables all the active placement transformations</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/SetColorChannels.html">SetColorChannels</a></td><td width="65%" halign="center"><div class="smalltext">
Sets the coefficients of the color channels</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/GetColorChannels.html">GetColorChannels</a></td><td width="65%" halign="center"><div class="smalltext">Returns the coefficients of the color channels</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/PushPlacement.html">PushPlacement</a></td><td width="65%" halign="center"><div class="smalltext">Pushes the placement state of Transforms in a stack</div></td></tr><tr><td halign="center" class="funclist"><a href="Transforms/PopPlacement.html">PopPlacement</a></td><td width="65%" halign="center"><div class="smalltext">Pops the most recent placement state of Transforms from the stack</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 Transforms? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=Transforms">here.</a></div></td></tr></table></body></html>