-/* glxfonts, Copyright (c) 2001-2004 Jamie Zawinski <jwz@jwz.org>
+/* glxfonts, Copyright (c) 2001-2008 Jamie Zawinski <jwz@jwz.org>
* Loads X11 fonts for use with OpenGL.
*
* Permission to use, copy, modify, distribute, and sell this software and its
XFontStruct **font_ret,
GLuint *dlist_ret);
-/* Width of the string in pixels. */
-extern int string_width (XFontStruct *f, const char *c);
+/* Bounding box of the string in pixels.
+ */
+extern int string_width (XFontStruct *f, const char *c, int *height_ret);
/* Draws the string on the window at the given pixel position.
Newlines and tab stops are honored.
GLuint font_dlist,
int window_width, int window_height,
GLfloat x, GLfloat y,
- const char *string);
+ const char *string,
+ Bool clear_background_p);
#endif /* __GLXFONTS_H__ */