GXSetLineWidth

C Specification

#include <revolution/gx.h>
void GXSetLineWidth( u8 width, GXTexOffset tex_offsets );

Arguments

width Specifies the width of the line in 1/6 pixels. The maximum width is 42.5 pixels.
tex_offsets Specifies the offset from the vertex texture coordinates to the other corners of the line.
Name Offset value added to the other corners.
GX_TO_ZERO 0
GX_TO_SIXTEENTH 1/16
GX_TO_EIGHTH
1/8
GX_TO_FOURTH
1/4
GX_TO_HALF 1/2
GX_TO_ONE 1

Return Values

None.

Description

This function sets the width line primitives. The tex_offsets parameter is added to the texture coordinate (t-coordinate only), in order to add the texture coordinate to the other angles on the wide line. The tex_offsets value is added after texture coordinates are generated. See GXSetTexCoordGen.

See Also

GXSetTexCoordGen, GXSetPointSize

Revision History

03/01/2006 Initial version.