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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::gfx::res::ResProjectionRect</title> 51 </head> 52 <body> 53 <h1>nw::gfx::res::ResProjectionRect Structure</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct ResProjectionRect 57{ 58 <a href="../../../../nw/ut/ResF32.html">nw::ut::ResF32</a> m_AspectRatio; 59 <a href="../../../../nw/ut/ResF32.html">nw::ut::ResF32</a> m_Height; 60 <a href="../../../../nw/ut/ResVec2.html">nw::ut::ResVec2</a> m_Center; 61}; 62</pre> 63 </div> 64 <h2>Description</h2> 65 <div class="section"> 66 <p> 67 </p> 68 </div> 69 <a name="variable" id="variable"> 70 <h2>Member Variables</h2> 71 <div class="section"> 72 <table class="members"> 73 <tr> 74 <td width="100"> </td> 75 <th> 76 <span class="argument"><CODE>m_AspectRatio</CODE></span> 77 </th> 78 <td> 79 </td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84 <span class="argument"><CODE>m_Height</CODE></span> 85 </th> 86 <td> 87 </td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <span class="argument"><CODE>m_Center</CODE></span> 93 </th> 94 <td> 95 </td> 96 </tr> </table> 97 </div> 98 </a> <a name="function" id="function"> 99 <h2>Member Functions</h2> 100 <div class="section"> 101 <table class="members"> 102 <tr> 103 <th class="category" colspan="3">Set/Get</th> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108 <a href="../../../../nw/gfx/res/ResProjectionRect/operator nw-3a-3aut-3a-3aRect.html"><CODE>operator nw::ut::Rect</CODE></a> 109 </th> 110 <td>Cast operator that converts into rectangle info in <a href="../../../nw/ut/Rect/Overview.html"><CODE>nw::ut::Rect</CODE></a> format.</td> 111 </tr> 112 <tr> 113 <td width="100"> </td> 114 <th> 115 <a href="../../../../nw/gfx/res/ResProjectionRect/GetHeight.html">GetHeight</a> 116 </th> 117 <td>Gets the height.</td> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122 <a href="../../../../nw/gfx/res/ResProjectionRect/GetWidth.html">GetWidth</a> 123 </th> 124 <td>Gets the width.</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <a href="../../../../nw/gfx/res/ResProjectionRect/GetAspectRatio.html"><CODE>GetAspectRatio</CODE></a> 130 </th> 131 <td>Gets the aspect ratio.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <a href="../../../../nw/gfx/res/ResProjectionRect/GetCenter.html"><CODE>GetCenter</CODE></a> 137 </th> 138 <td>Gets the central coordinates.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../../../nw/gfx/res/ResProjectionRect/Set.html"><CODE>Set</CODE></a> 144 </th> 145 <td>Sets the rectangle by specifying the upper-left and lower-right corners.</td> 146 </tr> </table> 147 </div> 148 </a> 149 <hr><p>CONFIDENTIAL</p></body> 150</html>