1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="Microsoft FrontPage 5.0">
6<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<TITLE>GXSetPointSize</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXSetPointSize</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXSetPointSize( u8 size, <A href="../Enumerated_Types/GXTexOffset.html">GXTexOffset</A> tex_offsets );
18</pre></dd></dl>
19
20<H2>Arguments</H2>
21<TABLE class="arguments" border="1" >
22  <TBODY>
23    <TR>
24<TH>size</TH>
25<TD>Specifies the width of the point in units of 1/6th pixel.&nbsp;The maximum size is 42.5 pixels.</TD>
26    </TR>
27    <TR>
28<TH>tex_offsets</TH>
29<TD>Specifies the <A href="../Enumerated_Types/GXTexOffset.html">offset</A> from the vertex texture coordinates to the other corners of the point.<BR>
30      <TABLE class="arguments" border="1" >
31          <tr>
32<TD bgcolor="#C0C0C0">Name</TD>
33<TD bgcolor="#C0C0C0">Offset value added to the other corners.</TD>
34          </tr>
35          <tr>
36            <TH>GX_TO_ZERO</TH>
37            <TD>0</TD>
38          </tr>
39          <tr>
40            <TH>GX_TO_SIXTEENTH</TH>
41            <TD>1/16</TD>
42          </tr>
43          <tr>
44            <TH>GX_TO_EIGHTH</TH>
45            <TD>1/8</TD>
46          </tr>
47          <tr>
48            <TH>GX_TO_FOURTH</TH>
49            <TD>1/4</TD>
50          </tr>
51          <tr>
52            <TH>GX_TO_HALF</TH>
53            <TD>1/2</TD>
54          </tr>
55          <tr>
56            <TH>GX_TO_ONE</TH>
57            <TD>1</TD>
58          </tr>
59      </TABLE>
60      </TD>
61    </TR>
62  </TBODY>
63</TABLE>
64
65<H2>Return Values</H2>
66<P>None.</P>
67
68<H2>Description</H2>
69<P>Sets the <SPAN class="argument">size</SPAN> of a point primitive. The <SPAN class="argument">tex_offsets</SPAN> parameter is added to the texture coordinate (s, t) in order to add the texture coordinate to other angles of the point. The <SPAN class="argument">tex_offsets</SPAN> value is added after texture coordinates are generated. See the <A href="../TexCoordGen/GXSetTexCoordGen.html"><CODE>GXSetTexCoordGen</CODE></A> function.</P>
70
71<H2>See Also</H2>
72<P class="reference">
73<A href="../TexCoordGen/GXSetTexCoordGen.html">GXSetTexCoordGen</A>,
74<A href="GXSetLineWidth.html">GXSetLineWidth</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>