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::lyt::res::Picture</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../../nw/lyt/res/Overview.html">res</a>::Picture</CODE> Structure</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">struct Picture : public <a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a>
55{
56   <a href="../../../../nw/lyt/res/Color/Overview.html">Color</a> vtxCols[VERTEXCOLOR_MAX];
57   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> materialIdx;
58   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> texCoordNum;
59   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[1];
60   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
61   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> flag;
62   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> basePosition;
63   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> alpha;
64   char name[ResourceNameStrMax];
65   char userData[UserDataStrMax];
66   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> translate;
67   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> rotate;
68   <a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a> scale;
69   <a href="../../../../nw/lyt/Size/Overview.html">Size</a> size;
70};
71</pre>
72    </div>
73    <h2>Description</h2>
74    <div class="section">
75      <p>Data block for defining a picture pane.</p><p><a href="../../../../nw/lyt/res/DATABLOCKKIND_PICTURE.html">res::DATABLOCKKIND_PICTURE</a> is specified for <CODE>kind</CODE> in <CODE>blockHeader</CODE>. </p><p>The following data structure follows this structure.</p><p>・ <a href="../../../../nw/lyt/res/Vec2/Overview.html">res::Vec2</a> texCoords[texCoordNum][VERTEX_MAX];</p></div>
76    <a name="variable" id="variable">
77      <h2>Member Variables</h2>
78      <div class="section">
79        <table class="members">
80          <tr>
81            <td width="100"> </td>
82            <th>
83              <span class="argument">vtxCols</span>
84            </th>
85            <td width="100"><a href="../../../../nw/lyt/res/Color/Overview.html">Color</a></td>
86            <td>Vertex color.</td>
87          </tr>
88          <tr>
89            <td width="100"> </td>
90            <th>
91              <span class="argument">materialIdx</span>
92            </th>
93            <td width="100"><a href="../../../../nw/ut/ResU16.html">ut::ResU16</a></td>
94            <td>Material index.</td>
95          </tr>
96          <tr>
97            <td width="100"> </td>
98            <th>
99              <span class="argument">texCoordNum</span>
100            </th>
101            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
102            <td>The number of texture coordinates.</td>
103          </tr>
104          <tr>
105            <td width="100"> </td>
106            <th>
107              <span class="argument">padding</span>
108            </th>
109            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
110            <td>(Not used.)</td>
111          </tr>
112          <tr>
113            <td width="100"> </td>
114            <th>
115              <span class="argument">blockHeader</span>
116            </th>
117            <td width="100"><a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a></td>
118            <td>Header.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
119          </tr>
120          <tr>
121            <td width="100"> </td>
122            <th>
123              <span class="argument">flag</span>
124            </th>
125            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
126            <td>A flag. (<a href="../../../../nw/lyt/PaneFlag.html">lyt::PaneFlag</a>)(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
127          </tr>
128          <tr>
129            <td width="100"> </td>
130            <th>
131              <span class="argument">basePosition</span>
132            </th>
133            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
134            <td>Base position. (<a href="../../../../nw/lyt/HorizontalPosition.html">lyt::HorizontalPosition</a> * HORIZONTALPOSITION_MAX + <a href="../../../../nw/lyt/VerticalPosition.html">lyt::VerticalPosition</a>)。(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
135          </tr>
136          <tr>
137            <td width="100"> </td>
138            <th>
139              <span class="argument">alpha</span>
140            </th>
141            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
142            <td>Alpha value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
143          </tr>
144          <tr>
145            <td width="100"> </td>
146            <th>
147              <span class="argument">name</span>
148            </th>
149            <td width="100"><CODE>char</CODE></td>
150            <td>Pane name.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
151          </tr>
152          <tr>
153            <td width="100"> </td>
154            <th>
155              <span class="argument">userData</span>
156            </th>
157            <td width="100"><CODE>char</CODE></td>
158            <td>User data.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
159          </tr>
160          <tr>
161            <td width="100"> </td>
162            <th>
163              <span class="argument">translate</span>
164            </th>
165            <td width="100"><a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a></td>
166            <td>Translation value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
167          </tr>
168          <tr>
169            <td width="100"> </td>
170            <th>
171              <span class="argument">rotate</span>
172            </th>
173            <td width="100"><a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a></td>
174            <td>Rotation value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
175          </tr>
176          <tr>
177            <td width="100"> </td>
178            <th>
179              <span class="argument">scale</span>
180            </th>
181            <td width="100"><a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a></td>
182            <td>The scale value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
183          </tr>
184          <tr>
185            <td width="100"> </td>
186            <th>
187              <span class="argument"><CODE>size</CODE></span>
188            </th>
189            <td width="100"><a href="../../../../nw/lyt/Size/Overview.html">Size</a></td>
190            <td>Size.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
191          </tr> </table>
192      </div>
193    </a>
194    <h2>Inheritance Hierarchy</h2>
195    <div class="section">
196      <p class="hierarchy"><a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a><br />  <b>nw::lyt::res::Picture</b>
197      </p>
198    </div>
199    <h2>See Also</h2>
200    <div class="section">
201      <p class="reference"><a href="../../../../nw/lyt/res/Lyt/Overview.html">Lyt</a><br /><a href="../../../../nw/lyt/res/PaneBegin/Overview.html">PaneBegin</a><br /> </p>
202    </div>
203    <h2>Revision History</h2>
204    <div class="section">
205      <dl class="history">
206        <dt>2010/01/26</dt>
207        <dd>Initial version.<br />
208        </dd>
209      </dl>
210    </div>
211  <hr><p>CONFIDENTIAL</p></body>
212</html>
213