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 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::ut::Rect</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/ut/Overview.html">ut</a>::Rect</CODE> Structure</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">struct Rect 55{ 56 <span>f32</span> left; 57 <span>f32</span> top; 58 <span>f32</span> right; 59 <span>f32</span> bottom; 60}; 61</pre> 62 </div> 63 <h2>Description</h2> 64 <div class="section"> 65 <p>Class representing rectangles.</p> 66 </div> 67 <a name="variable" id="variable"> 68 <h2>Member Variables</h2> 69 <div class="section"> 70 <table class="members"> 71 <tr> 72 <td width="100"> </td> 73 <th> 74 <span class="argument">left</span> 75 </th> 76 <td width="100"><span>f32</span></td> 77 <td>Left coordinate of the rectangle.</td> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82 <span class="argument">top</span> 83 </th> 84 <td width="100"><span>f32</span></td> 85 <td>Upper coordinate of the rectangle.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <span class="argument">right</span> 91 </th> 92 <td width="100"><span>f32</span></td> 93 <td>Right coordinate of the rectangle.</td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <span class="argument">bottom</span> 99 </th> 100 <td width="100"><span>f32</span></td> 101 <td>Lower coordinate of the rectangle.</td> 102 </tr> </table> 103 </div> 104 </a> <a name="function" id="function"> 105 <h2>Member Functions</h2> 106 <div class="section"> 107 <table class="members"> 108 <tr> 109 <th class="category" colspan="3">Constructors/Destructors</th> 110 </tr> 111 <tr> 112 <td width="100"> </td> 113 <th> 114 <a href="../../../nw/ut/Rect/Rect.html">Rect</a> 115 </th> 116 <td>This is the default constructor.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121 <a href="../../../nw/ut/Rect/~Rect.html">~Rect</a> 122 </th> 123 <td>Destructor.</td> 124 </tr> 125 <tr> 126 <th class="category" colspan="3">Set/Get</th> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131 <a href="../../../nw/ut/Rect/GetWidth.html"><CODE>GetWidth</CODE></a> 132 </th> 133 <td>Gets the rectangle's width.</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138 <a href="../../../nw/ut/Rect/GetHeight.html"><CODE>GetHeight</CODE></a> 139 </th> 140 <td>Gets the rectangle's height.</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145 <a href="../../../nw/ut/Rect/GetX.html">GetX</a> 146 </th> 147 <td>Gets the X-coordinate of the rectangle reference point.</td> 148 </tr> 149 <tr> 150 <td width="100"> </td> 151 <th> 152 <a href="../../../nw/ut/Rect/GetY.html">GetY</a> 153 </th> 154 <td>Gets the Y-coordinate of the rectangle reference point.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159 <a href="../../../nw/ut/Rect/SetWidth.html">SetWidth</a> 160 </th> 161 <td>Sets the rectangle's width.</td> 162 </tr> 163 <tr> 164 <td width="100"> </td> 165 <th> 166 <a href="../../../nw/ut/Rect/SetHeight.html">SetHeight</a> 167 </th> 168 <td>Sets the rectangle's height.</td> 169 </tr> 170 <tr> 171 <td width="100"> </td> 172 <th> 173 <a href="../../../nw/ut/Rect/MoveTo.html">MoveTo</a> 174 </th> 175 <td>Moves the left coordinate of the rectangle.</td> 176 </tr> 177 <tr> 178 <td width="100"> </td> 179 <th> 180 <a href="../../../nw/ut/Rect/Move.html">Move</a> 181 </th> 182 <td>Moves the rectangle in parallel.</td> 183 </tr> 184 <tr> 185 <td width="100"> </td> 186 <th> 187 <a href="../../../nw/ut/Rect/SetOriginAndSize.html">SetOriginAndSize</a> 188 </th> 189 <td>Sets origin and the size.</td> 190 </tr> 191 <tr> 192 <th class="category" colspan="3">Other</th> 193 </tr> 194 <tr> 195 <td width="100"> </td> 196 <th> 197 <a href="../../../nw/ut/Rect/Normalize.html"><CODE>Normalize</CODE></a> 198 </th> 199 <td>Normalizes rectangle information into regular values.</td> 200 </tr> </table> 201 </div> 202 </a> 203 <hr><p>CONFIDENTIAL</p></body> 204</html> 205