24 #include <grass/gstypes.h>
25 #include <grass/ogsf_proto.h>
42 width = (size * len) / 2;
101 glRasterPos2f(lab_pos[
X], lab_pos[
Y]);
102 glListBase(fontbase);
103 glCallLists(strlen(txt), GL_UNSIGNED_BYTE, (
const GLvoid *)txt);
int get_txtdescender(void)
Get text descender.
void do_label_display(GLuint fontbase, float *lab_pos, const char *txt)
Display label.
int gsd_get_txtheight(int size)
Get text height.
int get_txtxoffset(void)
Get text offset.
int gsd_get_txtwidth(const char *s, int size)
Get text width.