aglf.c File Reference
Text output and font support in OpenGL.
More...
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <allegro.h>
#include "alleggl.h"
#include "allglint.h"
#include <GL/glu.h>
Go to the source code of this file.
Functions
-
FONT_AGL_DATA * find_range (FONT_AGL_DATA *f, int c)
- int allegro_gl_printf (FONT *f, float x, float y, float z, int color, char *format,...)
- Prints a formatted string (printf style) on the screen.
- void allegro_gl_set_font_generation_mode (int mode)
- Set the font generation mode for system fonts.
- FONT * allegro_gl_load_system_font (char *name, int style, int w, int h)
- Short hand for aglf_load_system_font_ex(name, AGL_FONT_TYPE_OUTLINE, style, w, h, 0.0f, 32, 256).
- FONT * allegro_gl_load_system_font_ex (char *name, int type, int style, int w, int h, float depth, int start, int end)
- Loads a system font.
- void allegro_gl_destroy_font (FONT *f)
- Destroys the font.
- size_t allegro_gl_list_font_textures (FONT *f, GLuint *ids, size_t max_num_id)
- List the texture ID of all textures forming the specified font.
Variables
-
int aglf_font_generation_mode = AGL_FONT_POLYGONS
Detailed Description
Text output and font support in OpenGL.
Definition in file aglf.c.
Generated on Wed Jun 30 23:59:52 2004 for AllegroGL by
1.3.5