gdk_gl_use_gdk_font

Langue: en

Version: 273578 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gdk_gl_use_gdk_font - specify gdk font

SYNOPSIS

#include <gtkgl/gdkgl.h>

void gdk_gl_use_gdk_font( GdkFont *font, int first, int count, int list_base )

font
Pointer to GdkFont structure, font type must be GDK_FONT_FONT.
first
Specifies the index of the first font glyph to be taken
count
Specifies the number of glyphs to be taken.
list_base
Specifies the index of the first display list to be generated.

DESCRIPTION

gdk_gl_use_gdk_font generates count display lists, named list_base through list_base + count - 1, each containing a single glBitmap command. gdk_gl_use_gdk_font is ignored if there is no current context.

The gdk_gl_* functions are quite straightforward wrappers around a few necessary GLX calls and should be easy to understand if you already know GLX.

LIBRARY USE

Use -lgtkgl as a flag to the loader.

SEE ALSO

glXUseXFont(3)

AUTHORS

The author of the GTKGLArea library is Janne Löf.

This manpage was created by Morten Kjeldgaard for the Debian project.