GXSetLineWidth

Syntax

#include <revolution/gx.h>

void GXSetLineWidth( u8 width, GXTexOffset tex_offsets );

Arguments

width Specifies the width of the line in units of 1/6th pixel. 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 coordinates (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

2006/03/01 Initial version.


CONFIDENTIAL