Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Hershey.h

Go to the documentation of this file.
00001 /*
00002  * Modified Hershey Roman font rendering code.
00003  *
00004  * $Id: Hershey.h,v 1.7 2011/02/10 21:22:35 johns Exp $
00005  */
00006 #ifndef __Hershey_h__
00007 #define __Hershey_h__
00008 
00009 /* private handle data structure */
00010 typedef struct {
00011   float lm;
00012   float rm;
00013   const char *p;
00014 } hersheyhandle;
00015 
00019 void hersheyDrawLetterOpenGL(unsigned char ch, int drawendpoints);
00020 
00027 void hersheyDrawInitLetter(hersheyhandle *hh, const char ch, 
00028                            float *lm, float *rm);
00029 
00036 int hersheyDrawNextLine(hersheyhandle *hh, int *draw, float *x, float *y);
00037 
00038 #endif /* __Hershey_h__ */

Generated on Fri Nov 8 02:44:41 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002