Main Page Data Structures File List Data Fields Globals Related Pages

# gfxfont.h

Go to the documentation of this file.

    00001 #ifndef GFXFONT_H
    00002 #define GFXFONT_H
    00003
    00004 #include "bitmap.h"
    00005 #include "fontstruct.h"
    00006 #include "gfxcore.h"
    00007
    00008 extern Font *GFX_LoadFont(char *fn);
    00009 extern void  GFX_FreeFont(Font *font);
    00010
    00011 struct Graphics;  // forward declaration
    00012 extern int   GFX_Print   (Graphics *gfx, char *string);
    00013 extern int   GFX_PrintAt (Graphics *gfx, int x, int y, char *string);
    00014 extern int   GFX_Printf  (Graphics *gfx, char *format, ...);
    00015 extern int   GFX_PrintfAt(Graphics *gfx, int x, int y, char *format, ...);
    00016
    00017 extern int   GFX_TextWidth(Graphics *gfx, char *string);
    00018
    00019 #endif