Welcome! Log In Create A New Profile

Advanced

line width

Posted by xyz44 
line width
March 21, 2009 10:22PM
hello,

i need help to set line width, i can't find any function like glLineWidth????

thx for any repley



Edited 1 time(s). Last edit at 03/21/2009 10:23PM by xyz44.
Re: line width
March 22, 2009 02:39AM
void GX_SetLineWidth(u8 width, u8 fmt);

I'm not exactly sure how to interpret the fmt parameter, but it's one of the following from gx.h:

#define GX_TO_ZERO 0
#define GX_TO_SIXTEENTH 1
#define GX_TO_EIGHTH 2
#define GX_TO_FOURTH 3
#define GX_TO_HALF 4
#define GX_TO_ONE 5

By default, GX_Init() sets the width like this:

GX_SetLineWidth(6,GX_TO_ZERO);

Michael
Sorry, only registered users may post in this forum.

Click here to login