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<H2>C Specification</H2> 13<DL> 14 <DD> 15<PRE><CODE>#include <revolution/gx.h></CODE></PRE> 16 <DD> 17<PRE><CODE>void GXSetPointSize( u8 size, <a href="../Enumerated_Types/GXTexOffset.html">GXTexOffset</a> tex_offsets );</CODE></PRE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" cellpadding="3" cellspacing="0.1"> 21 <TBODY> 22 <TR> 23<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>size</FONT></STRONG></EM></TD> 24<TD width="520">Specifies the width of the point in 1/6 pixels. The maximum size is 42.5 pixels.</TD> 25 </TR> 26 <TR> 27<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>tex_offsets</FONT></STRONG></EM></TD> 28<TD width="520">Specifies the <a href="../Enumerated_Types/GXTexOffset.html">offset</a> from the vertex texture coordinates to the other corners of the point. 29 <TABLE width="500" border="1" cellspacing="0.1"> 30 31 <tr> 32<TD width="150" bgcolor="#C0C0C0">Name</TD> 33<TD width="350" bgcolor="#C0C0C0">Offset value added to the other corners.</TD> 34 </tr> 35 <tr> 36<TD height="12" width="150"><code>GX_TO_ZERO</code></TD> 37 <TD height="12" width="350">0</TD> 38 </tr> 39 <tr> 40<TD width="150"><code>GX_TO_SIXTEENTH </code></TD> 41 <TD width="350">1/16</TD> 42 </tr> 43 <tr> 44<TD width="150"><code>GX_TO_EIGHTH <br></code></TD> 45 <TD width="350">1/8</TD> 46 </tr> 47 <tr> 48<TD width="150"><code>GX_TO_FOURTH <br></code></TD> 49 <TD width="350">1/4</TD> 50 </tr> 51 <tr> 52<TD width="150"><code>GX_TO_HALF </code></TD> 53 <TD width="350">1/2</TD> 54 </tr> 55 <tr> 56<TD width="150"><code>GX_TO_ONE </code></TD> 57 <TD width="350">1</TD> 58 </tr> 59 60 </TABLE> 61 </TD> 62 </TR> 63 </TBODY> 64</TABLE> 65<H2>Return Values</H2> 66<P>None.</P> 67<H2>Description</H2> 68<P>Sets the <CODE><EM><STRONG>size</STRONG></EM></CODE> of a point primitive. The <CODE><EM><STRONG>tex_offsets</STRONG></EM></CODE> parameter is added to the texture coordinate (<EM>s</EM>,<EM>t</EM>) in order to add the texture coordinate to other angles of the point. 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> 69<H2>See Also</H2> 70<P><A href="../TexCoordGen/GXSetTexCoordGen.html"><CODE>GXSetTexCoordGen</CODE></A>, <A href="GXSetLineWidth.html"><CODE>GXSetLineWidth</CODE></A> 71</P> 72<H2>Revision History</H2> 73<P>2006/03/01 Initial version.</P> 74<hr> 75<P>CONFIDENTIAL</p> 76</BODY> 77</HTML>