libmove3d
3.13.0
|
00001 // uglyfont.cpp 00002 // 00003 // Copyright: Soji Yamakawa (CaptainYS, E-Mail: PEB01130*nifty+com <- Replace * with @, + with .) 00004 // 00005 // I don't abandon the copyright, but you can use this code and the header 00006 // (uglyfont.cpp and uglyfont.h) for your product regardless of the purpose, 00007 // i.e., free or commercial, open source or proprietary. 00008 // 00009 // However, I do not take any responsibility for the consequence of using 00010 // this code and header. Please use on your own risks. 00011 // 00012 // January 5, 2005 00013 // 00014 // Soji Yamakawa 00015 00016 00017 #ifndef UGLYFONT_IS_INCLUDED 00018 #define UGLYFONT_IS_INCLUDED 00019 /* { */ 00020 00021 00022 00023 // YsDrawUglyFont function draws text using an ugly vector-font set. 00024 // The size of a letter are 1.0x1.0 (no thickness in z direction). 00025 // The size and the location on the display can be controlled by 00026 // glScale and glTranslate (not glRasterPos) 00027 00028 // This function uses OpenGL's display list 1400 to 1655. If it conflicts with 00029 // your program, modify: 00030 // const int YsUglyFontBase=1400; 00031 // in uglyfont.cpp 00032 00033 00034 void YsDrawUglyFont(const char str[],int centering,int useDisplayList=1); 00035 00036 00037 /* } */ 00038 #endif