GtkGLExt Reference Manual |
---|
Font Rendering — Functions for font rendering in OpenGL
#include <gdk/gdkgl.h> PangoFont* gdk_gl_font_use_pango_font (const PangoFontDescription *font_desc, int first, int count, int list_base); PangoFont* gdk_gl_font_use_pango_font_for_display (GdkDisplay *display, const PangoFontDescription *font_desc, int first, int count, int list_base);
PangoFont* gdk_gl_font_use_pango_font (const PangoFontDescription *font_desc, int first, int count, int list_base);
Creates bitmap display lists from a PangoFont.
font_desc : | a PangoFontDescription describing the font to use. |
first : | the index of the first glyph to be taken. |
count : | the number of glyphs to be taken. |
list_base : | the index of the first display list to be generated. |
Returns : | the PangoFont used, or NULL if no font matched. |
PangoFont* gdk_gl_font_use_pango_font_for_display (GdkDisplay *display, const PangoFontDescription *font_desc, int first, int count, int list_base);
Creates bitmap display lists from a PangoFont.
display : | a GdkDisplay. |
font_desc : | a PangoFontDescription describing the font to use. |
first : | the index of the first glyph to be taken. |
count : | the number of glyphs to be taken. |
list_base : | the index of the first display list to be generated. |
Returns : | the PangoFont used, or NULL if no font matched. |
<< OpenGL Window | Geometric Object Rendering >> |