massspec/font.h
00001
00002
00003
00004
00005
00006
00007 #ifndef _FONT_H_
00008 #define _FONT_H_
00009
00010
00011
00012
00013
00014 #ifdef WIN32
00015 # include <windows.h>
00016 #endif
00017
00018 # include <GL/gl.h>
00019
00020
00021
00022
00023
00024
00025 # ifdef __cplusplus
00026 extern "C" {
00027 # endif
00028
00029
00030
00031
00032
00033
00034 typedef struct
00035 {
00036 GLuint base;
00037 int widths[256];
00038 int height;
00039 } GLFONT;
00040
00041
00042
00043
00044
00045
00046 #ifdef WIN32
00047 extern GLFONT *FontCreate(HDC hdc, const char *typeface, int height,
00048 int weight, DWORD italic);
00049 #endif
00050
00051 extern void FontDestroy(GLFONT *font);
00052 extern void FontPrintf(GLFONT *font, int align, const char *format, ...);
00053 extern void FontPuts(GLFONT *font, const char *s);
00054
00055 # ifdef __cplusplus
00056 }
00057 # endif
00058 #endif
00059
Generated on Sun Feb 13 01:05:57 2005 for MapQuant by
1.3.7