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::ut::Rect</title> 51 </head> 52 <body> 53 <h1>nw::ut::Rect Structure</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">struct Rect 57{ 58 <span>f32</span> left; 59 <span>f32</span> top; 60 <span>f32</span> right; 61 <span>f32</span> bottom; 62}; 63</pre> 64 </div> 65 <h2>Description</h2> 66 <div class="section"> 67 <p>Class representing rectangles.</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">left</span> 77 </th> 78 <td>Left coordinate of the rectangle.</td> 79 </tr> 80 <tr> 81 <td width="100"> </td> 82 <th> 83 <span class="argument">top</span> 84 </th> 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>Right coordinate of the rectangle.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97 <span class="argument">bottom</span> 98 </th> 99 <td>Lower coordinate of the rectangle.</td> 100 </tr> </table> 101 </div> 102 </a> <a name="function" id="function"> 103 <h2>Member Functions</h2> 104 <div class="section"> 105 <table class="members"> 106 <tr> 107 <th class="category" colspan="3">Constructors/Destructors</th> 108 </tr> 109 <tr> 110 <td width="100"> </td> 111 <th> 112 <a href="../../../nw/ut/Rect/Rect.html">Rect</a> 113 </th> 114 <td>This is the default constructor.</td> 115 </tr> 116 <tr> 117 <td width="100"> </td> 118 <th> 119 <a href="../../../nw/ut/Rect/~Rect.html">~Rect</a> 120 </th> 121 <td>Destructor.</td> 122 </tr> 123 <tr> 124 <th class="category" colspan="3">Set/Get</th> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <a href="../../../nw/ut/Rect/GetWidth.html">GetWidth</a> 130 </th> 131 <td>Gets the rectangle's width.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <a href="../../../nw/ut/Rect/GetHeight.html">GetHeight</a> 137 </th> 138 <td>Gets the rectangle's height.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../../nw/ut/Rect/GetX.html">GetX</a> 144 </th> 145 <td>Gets the X-coordinate of the rectangle reference point.</td> 146 </tr> 147 <tr> 148 <td width="100"> </td> 149 <th> 150 <a href="../../../nw/ut/Rect/GetY.html">GetY</a> 151 </th> 152 <td>Gets the Y-coordinate of the rectangle reference point.</td> 153 </tr> 154 <tr> 155 <td width="100"> </td> 156 <th> 157 <a href="../../../nw/ut/Rect/SetWidth.html">SetWidth</a> 158 </th> 159 <td>Sets the rectangle's width.</td> 160 </tr> 161 <tr> 162 <td width="100"> </td> 163 <th> 164 <a href="../../../nw/ut/Rect/SetHeight.html">SetHeight</a> 165 </th> 166 <td>Sets the rectangle's height.</td> 167 </tr> 168 <tr> 169 <td width="100"> </td> 170 <th> 171 <a href="../../../nw/ut/Rect/MoveTo.html">MoveTo</a> 172 </th> 173 <td>Moves the left coordinate of the rectangle.</td> 174 </tr> 175 <tr> 176 <td width="100"> </td> 177 <th> 178 <a href="../../../nw/ut/Rect/Move.html">Move</a> 179 </th> 180 <td>Moves the rectangle in parallel.</td> 181 </tr> 182 <tr> 183 <td width="100"> </td> 184 <th> 185 <a href="../../../nw/ut/Rect/SetOriginAndSize.html">SetOriginAndSize</a> 186 </th> 187 <td>Sets origin and the size.</td> 188 </tr> 189 <tr> 190 <th class="category" colspan="3">Other</th> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195 <a href="../../../nw/ut/Rect/Normalize.html"><CODE>Normalize</CODE></a> 196 </th> 197 <td>Normalizes rectangle information into regular values.</td> 198 </tr> </table> 199 </div> 200 </a> 201 <hr><p>CONFIDENTIAL</p></body> 202</html>