1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>GXSetLineWidth</title>
9</head>
10
11<body>
12
13<h1 align="left">GXSetLineWidth</h1>
14
15<h2>C Specification</h2>
16
17<dl>
18<dd><pre><CODE>#include &lt;revolution/gx.h&gt;</CODE></pre></dd>
19<dd><pre><CODE>void GXSetLineWidth( u8 width, <a href="../Enumerated_Types/GXTexOffset.html">GXTexOffset</a> tex_offsets );</CODE></pre>
20  </dd>
21</dl>
22
23<h2>Arguments</h2>
24<TABLE border="1" cellpadding="3" cellspacing="0.1">
25  <tr>
26<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>width</font></strong></em></TD>
27<TD width="520">Specifies the width of the line in 1/6 pixels.&nbsp;The maximum width is 42.5 pixels.</TD>
28    </tr>
29  <tr>
30<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>tex_offsets</font></strong></em></TD>
31<TD width="520">Specifies the <a href="../Enumerated_Types/GXTexOffset.html">offset</a> from the vertex texture coordinates to the other corners of the line.
32      <TABLE width="500" border="1" cellspacing="0.1">
33
34          <tr>
35<TD width="150" bgcolor="#C0C0C0">Name</TD>
36<TD width="350" bgcolor="#C0C0C0">Offset value added to the other corners.</TD>
37          </tr>
38          <tr>
39<TD height="12" width="150"><code>GX_TO_ZERO</code></TD>
40            <TD height="12" width="350">0</TD>
41          </tr>
42          <tr>
43<TD width="150"><code>GX_TO_SIXTEENTH </code></TD>
44            <TD width="350">1/16</TD>
45          </tr>
46          <tr>
47<TD width="150"><code>GX_TO_EIGHTH <br></code></TD>
48            <TD width="350">1/8</TD>
49          </tr>
50          <tr>
51<TD width="150"><code>GX_TO_FOURTH <br></code></TD>
52            <TD width="350">1/4</TD>
53          </tr>
54          <tr>
55<TD width="150"><code>GX_TO_HALF </code></TD>
56            <TD width="350">1/2</TD>
57          </tr>
58          <tr>
59<TD width="150"><code>GX_TO_ONE </code></TD>
60            <TD width="350">1</TD>
61          </tr>
62
63      </TABLE>
64      </TD>
65    </tr>
66</TABLE>
67<h2>Return Values</h2>
68
69<p>None.</p>
70<H2>Description</H2>
71<P>This function sets the <CODE><EM><STRONG>width</STRONG></EM></CODE> line primitives. The <CODE><EM><STRONG>tex_offsets</STRONG></EM></CODE> parameter is added to the texture coordinate (<EM>t</EM>-coordinate only), in order to add the texture coordinate to the other angles on the wide line. The <CODE><EM><STRONG>tex_offsets</STRONG></EM></CODE> value is added after texture coordinates are generated. See <A href="../TexCoordGen/GXSetTexCoordGen.html"><CODE>GXSetTexCoordGen</CODE></A>.</P>
72<H2>See Also</H2>
73<P><A href="../TexCoordGen/GXSetTexCoordGen.html">GXSetTexCoordGen</a>, <a href="GXSetPointSize.html">GXSetPointSize </a></P>
74<H2>Revision History</H2>
75<P>2006/03/01 Initial version.</P>
76<hr>
77<P>CONFIDENTIAL</p>
78</BODY>
79</HTML>