1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>Viewport</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../nw/gfx/Viewport/Overview.html">Viewport</a>::Viewport</CODE> Constructor</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14Viewport(); 15Viewport( 16 float x, 17 float y, 18 float width, 19 float height, 20 float near, 21 float far 22); 23Viewport( 24 <a href="../../../nw/ut/Rect/Overview.html">ut::Rect</a> rect, 25 float near, 26 float far 27); 28Viewport( 29 <a href="../../../nw/gfx/IRenderTarget/Overview.html">IRenderTarget</a> * renderTarget, 30 float near, 31 float far 32); 33Viewport( 34 const <a href="../../../nw/gfx/Viewport/Overview.html">Viewport</a> & v 35); 36</pre> 37 </div> 38 <h2>List of Overloaded Member Functions</h2> 39 <div class="section"> 40 <table class="members"> 41 <tr> 42 <td> 43 <a href="./Viewport(0).html">Viewport ( ) </a> 44 </td> 45 <td>This is the default constructor.</td> 46 </tr> 47 <tr> 48 <td> 49 <a href="./Viewport(1).html">Viewport ( float, float, float, float, float, float ) </a> 50 </td> 51 <td>Constructor.</td> 52 </tr> 53 <tr> 54 <td> 55 <a href="./Viewport(2).html">Viewport ( ut::Rect, float, float ) </a> 56 </td> 57 <td>Constructor.</td> 58 </tr> 59 <tr> 60 <td> 61 <a href="./Viewport(3).html">Viewport ( IRenderTarget *, float, float ) </a> 62 </td> 63 <td>Constructor.</td> 64 </tr> 65 <tr> 66 <td> 67 <a href="./Viewport(4).html">Viewport ( const Viewport & ) </a> 68 </td> 69 <td>Copy constructor.</td> 70 </tr> </table> 71 </div> 72 <h2>Description of Viewport ( )</h2> 73 <div class="section"> 74 <p>This is the default constructor.</p> 75 </div> 76 <h2>Description of Viewport ( float, float, float, float, float, float )</h2> 77 <div class="section"> 78 <p>Constructor.</p> 79 </div> 80 <h2>Description of Viewport ( ut::Rect, float, float )</h2> 81 <div class="section"> 82 <p>Constructor.</p> 83 </div> 84 <h2>Description of Viewport ( IRenderTarget *, float, float )</h2> 85 <div class="section"> 86 <p>Constructor.</p> 87 </div> 88 <h2>Description of Viewport ( const Viewport & )</h2> 89 <div class="section"> 90 <p>Copy constructor.</p> 91 </div> 92 <hr><p>CONFIDENTIAL</p></body> 93</html> 94