41 width = (size * len) / 2;
99 glRasterPos2f(lab_pos[
X], lab_pos[
Y]);
100 glListBase(fontbase);
101 glCallLists(strlen(txt), GL_UNSIGNED_BYTE, (
const GLvoid *)txt);
void do_label_display(GLuint fontbase, float *lab_pos, const char *txt)
Display label.
int gsd_get_txtwidth(const char *s, int size)
Get text width.
int get_txtdescender(void)
Get text descender.
int gsd_get_txtheight(int size)
Get text height.
int get_txtxoffset(void)
Get text offset.