File: SliceMultiplyMode.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-- 2,006 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="BigHeader">SliceMultiplyMode</div><br><div class=""><div class="Surrounded"><table><tr valign="top"><td align="right"><div class="FuncDef"><strong><a href="../RenderMode/SliceMultiplyMode.html"><font color="#0000CC">SliceMultiplyMode</font></a>(</strong></div></td><td><div class="FuncDef"><strong><font color="#777733">float</font> slicePos, OlSlicingChoise mode );
<br></strong></div></td></tr></table>
<br>Stretches a one pixel wide slice of the bitmap to fill the entire bitmap. The mode should be one of the following: HORIZONTAL_SLICE or VERTICAL_SLICE.
<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;Blit&nbsp;the&nbsp;Bitmap&nbsp;to&nbsp;the&nbsp;screen&nbsp;such&nbsp;that&nbsp;the&nbsp;fifth&nbsp;row&nbsp;of&nbsp;the&nbsp;Bitmap&nbsp;fills&nbsp;the&nbsp;entire&nbsp;Bitmap&nbsp;//</font>
<br>myBmp.<a href="../Bitmap/Blit.html"><font color="#0000CC">Blit</font></a>(&nbsp;<font color="#994400">200.0</font>,&nbsp;<font color="#994400">100.0</font>,&nbsp;<a href="../RenderMode/SliceMultiplyMode.html"><font color="#0000CC">SliceMultiplyMode</font></a>(&nbsp;<font color="#994400">5.0</font>,&nbsp;VERTICAL&nbsp;));</div><div class=""><br><br><div class="MediumHeader">Parent Class</div><div class="Surrounded"><a href="../RenderMode.html">RenderMode</a></div><br><div class=""><a href="../index.html">Back to the main page of the manual</a></div><br>Questions about SliceMultiplyMode? Click <a href="http://crystalstorm.ath.cx/index.php?lan=en&page=CreateFeedback&subject=SliceMultiplyMode">here.</a></div></td></tr></table></body></html>