Max Maischein > App-VideoMixer-0.02 > OpenGL::Font



Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

new NAME [, CHARS]

Loads the font NAME and creates the display lists for the given characters. If none are given, a display list for 32..127 is created.

The list of characters can be passed either as a character string or an array reference of integers.

$font->draw_string STRING

Draws the string from the display lists. Set textures etc. before calling this.

syntax highlighting: