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><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/gfx/Overview.html">gfx</a>::<a href="../../../../nw/gfx/res/Overview.html">res</a>::ResProjectionRect</CODE> 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">m_AspectRatio</span> 77 </th> 78 <td width="100"><a href="../../../../nw/ut/ResF32.html"><CODE>nw::ut::ResF32</CODE></a></td> 79 <td> 80 </td> 81 </tr> 82 <tr> 83 <td width="100"> </td> 84 <th> 85 <span class="argument">m_Height</span> 86 </th> 87 <td width="100"><a href="../../../../nw/ut/ResF32.html"><CODE>nw::ut::ResF32</CODE></a></td> 88 <td> 89 </td> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94 <span class="argument">m_Center</span> 95 </th> 96 <td width="100"><a href="../../../../nw/ut/ResVec2.html"><CODE>nw::ut::ResVec2</CODE></a></td> 97 <td> 98 </td> 99 </tr> </table> 100 </div> 101 </a> <a name="function" id="function"> 102 <h2>Member Functions</h2> 103 <div class="section"> 104 <table class="members"> 105 <tr> 106 <th class="category" colspan="3">Set/Get</th> 107 </tr> 108 <tr> 109 <td width="100"> </td> 110 <th> 111 <a href="../../../../nw/gfx/res/ResProjectionRect/operator nw-3a-3aut-3a-3aRect.html"><CODE>operator nw::ut::Rect</CODE></a> 112 </th> 113 <td>Cast operator that converts into rectangle info in <a href="../../../../nw/ut/Rect/Overview.html"><CODE>nw::ut::Rect</CODE></a> format.</td> 114 </tr> 115 <tr> 116 <td width="100"> </td> 117 <th> 118 <a href="../../../../nw/gfx/res/ResProjectionRect/GetHeight.html"><CODE>GetHeight</CODE></a> 119 </th> 120 <td>Gets the height.</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125 <a href="../../../../nw/gfx/res/ResProjectionRect/GetWidth.html"><CODE>GetWidth</CODE></a> 126 </th> 127 <td>Gets the width.</td> 128 </tr> 129 <tr> 130 <td width="100"> </td> 131 <th> 132 <a href="../../../../nw/gfx/res/ResProjectionRect/GetAspectRatio.html"><CODE>GetAspectRatio</CODE></a> 133 </th> 134 <td>Gets the aspect ratio.</td> 135 </tr> 136 <tr> 137 <td width="100"> </td> 138 <th> 139 <a href="../../../../nw/gfx/res/ResProjectionRect/GetCenter.html"><CODE>GetCenter</CODE></a> 140 </th> 141 <td>Gets the central coordinates.</td> 142 </tr> 143 <tr> 144 <td width="100"> </td> 145 <th> 146 <a href="../../../../nw/gfx/res/ResProjectionRect/NW_DEPRECATED_FUNCTION.html"><CODE>NW_DEPRECATED_FUNCTION</CODE></a> 147 </th> 148 <td>Deprecated. The <a href="../../../../nw/gfx/res/ResProjectionRect/SetWithYFlip.html"><CODE>SetWithYFlip</CODE></a> function still behaves as it used to.</td> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153 <a href="../../../../nw/gfx/res/ResProjectionRect/SetWithoutFlip.html"><CODE>SetWithoutFlip</CODE></a> 154 </th> 155 <td>Sets the rectangle by specifying the upper-left and lower-right corners.</td> 156 </tr> 157 <tr> 158 <td width="100"> </td> 159 <th> 160 <a href="../../../../nw/gfx/res/ResProjectionRect/SetWithYFlip.html"><CODE>SetWithYFlip</CODE></a> 161 </th> 162 <td>Sets the rectangle by specifying the upper-left and lower-right corners. This function flips <CODE>b</CODE> and <CODE>t</CODE> compared to when configured from the binary. Use the <a href="../../../../nw/gfx/res/ResProjectionRect/SetWithoutFlip.html"><CODE>SetWithoutFlip</CODE></a> function to configure identically to the binary.</td> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167 <a href="../../../../nw/gfx/res/ResProjectionRect/Set.html"><CODE>Set</CODE></a> 168 </th> 169 <td>Sets a rectangle by specifying the height and the aspect ratio.</td> 170 </tr> </table> 171 </div> 172 </a> 173 <hr><p>CONFIDENTIAL</p></body> 174</html>