File: TexturedPoly.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 (16 lines) | stat: -rw-r--r-- 4,248 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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="../Shape.html">Shape</a> | <a href="../Shape/Poly.html">Poly</a> | <a href="../Poly/TexturedPoly.html">TexturedPoly</a></div><br><div class="BigHeader">TexturedPoly</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><a href="../Poly/TexturedPoly.html"><font color="#0000CC">TexturedPoly</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">const</font> <a href="../Bitmap.html"><font color="#0000CC">Bitmap</font></a> &amp;texture, <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a> rotationPivot = <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a>( <font color="#994400">0.0</font>, <font color="#994400">0.0</font> ))
<br></strong></div></td></tr></table>
<br>Constructs a new textured polygon with the specified texture and rotation pivot.
<br></div>
<br><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><a href="../Poly/TexturedPoly.html"><font color="#0000CC">TexturedPoly</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">const</font> <a href="../Bitmap.html"><font color="#0000CC">Bitmap</font></a> &amp;texture, <font color="#777733">const</font> std_container &amp;vertices, <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a> rotationPivot = <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a>( <font color="#994400">0.0</font>, <font color="#994400">0.0</font> ))
<br></strong></div></td></tr></table>
<br>Constructs a new textured polygon with the specified texture, vertices from an STL container and a rotation pivot.
<br></div>
<br><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><a href="../Poly/TexturedPoly.html"><font color="#0000CC">TexturedPoly</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">const</font> <a href="../Bitmap.html"><font color="#0000CC">Bitmap</font></a> &amp;texture, <font color="#777733">const</font> <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a> *vertices, <font color="#777733">int</font> numVertices, <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a> rotationPivot = <a href="../Vec2D.html"><font color="#0000CC">Vec2D</font></a>( <font color="#994400">0.0</font>, <font color="#994400">0.0</font> ))
<br></strong></div></td></tr></table>
<br>Constructs a new textured polygon with the specified texture, vertices from an an array and a rotation pivot.
<br></div></div><br><div class="MediumHeader">Examples</div><br><div class="Code"><a href="../Bitmap.html"><font color="#0000CC">Bitmap</font></a>&nbsp;myBmp(&nbsp;...&nbsp;);
<br>
<br><font color="#999922">//&nbsp;Construct&nbsp;a&nbsp;new&nbsp;textured&nbsp;polygon&nbsp;with&nbsp;myBmp&nbsp;as&nbsp;the&nbsp;texture&nbsp;//</font>
<br><a href="../Poly/TexturedPoly.html"><font color="#0000CC">TexturedPoly</font></a>&nbsp;myPoly(&nbsp;myBmp&nbsp;);
<br></div><div class=""><br><br><div class="MediumHeader">Member functions</div><div class="Surrounded"><table size="100%" cellpadding="0" cellspacing="0"><tr><td colspan="2"><br><div class="SmallHeader"><font color="#775500">Advanced functions</font></div><br></td></tr><tr><td halign="center" class="funclist"><a href="../TexturedPoly/Construct.html">Construct</a></td><td width="65%" halign="center"><div class="smalltext">Immediately pre-caches the internal structure of the TexturedPoly</div></td></tr></table></div><br><div class="MediumHeader">Parent Class</div><div class="Surrounded"><a href="../Shape/Poly.html">Poly</a></div><br><div class=""><a href="../index.html">Back to the main page of the manual</a></div><br>Questions about TexturedPoly? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=TexturedPoly">here.</a></div></td></tr></table></body></html>