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>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution/gx.h&gt;
18
19void GXSetLineWidth( u8 width, <a href="../Enumerated_Types/GXTexOffset.html">GXTexOffset</a> tex_offsets );
20</pre></dd></dl>
21
22<h2>Arguments</h2>
23<TABLE class="arguments" border="1" >
24  <tr>
25<TH>width</TH>
26<TD>Specifies the width of the line in units of 1/6th pixel.&nbsp;The maximum width is 42.5 pixels.</TD>
27    </tr>
28  <tr>
29<TH>tex_offsets</TH>
30<TD>Specifies the <a href="../Enumerated_Types/GXTexOffset.html">offset</a> from the vertex texture coordinates to the other corners of the line.<BR>
31      <TABLE class="arguments" border="1" >
32          <tr>
33<TD bgcolor="#C0C0C0">Name</TD>
34<TD bgcolor="#C0C0C0">Offset value added to the other corners.</TD>
35          </tr>
36          <tr>
37            <TH>GX_TO_ZERO</TH>
38            <TD>0</TD>
39          </tr>
40          <tr>
41            <TH>GX_TO_SIXTEENTH</TH>
42            <TD>1/16</TD>
43          </tr>
44          <tr>
45            <TH>GX_TO_EIGHTH</TH>
46            <TD>1/8</TD>
47          </tr>
48          <tr>
49            <TH>GX_TO_FOURTH</TH>
50            <TD>1/4</TD>
51          </tr>
52          <tr>
53            <TH>GX_TO_HALF</TH>
54            <TD>1/2</TD>
55          </tr>
56          <tr>
57            <TH>GX_TO_ONE</TH>
58            <TD>1</TD>
59          </tr>
60      </TABLE>
61      </TD>
62    </tr>
63</TABLE>
64
65<h2>Return Values</h2>
66<p>None.</p>
67
68<H2>Description</H2>
69<P>This function sets the <SPAN class="argument">width</SPAN> line primitives. The <SPAN class="argument">tex_offsets</SPAN> parameter is added to the texture coordinates (T-coordinate only) in order to add the texture coordinate to the other angles on the wide line. The <SPAN class="argument">tex_offsets</SPAN> value is added after texture coordinates are generated. See <A href="../TexCoordGen/GXSetTexCoordGen.html"><CODE>GXSetTexCoordGen</CODE></A>.</P>
70
71<H2>See Also</H2>
72<P class="reference">
73<A href="../TexCoordGen/GXSetTexCoordGen.html">GXSetTexCoordGen</A>,
74<A href="GXSetPointSize.html">GXSetPointSize</A>
75</P>
76
77<H2>Revision History</H2>
78<P>
792006/03/01 Initial version.<br>
80</P>
81
82<hr><p>CONFIDENTIAL</p></body>
83</HTML>