ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/font.h
(Generate patch)

Comparing ray/src/common/font.h (file contents):
Revision 2.5 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.6 by schorsch, Fri Jun 6 16:38:47 2003 UTC

# Line 2 | Line 2
2   /*
3   * Header file for font handling routines
4   */
5 + #ifndef _RAD_FONT_H_
6 + #define _RAD_FONT_H_
7 + #ifdef __cplusplus
8 + extern "C" {
9 + #endif
10  
11   #include "copyright.h"
12  
# Line 25 | Line 30 | typedef struct font {
30  
31   extern int      retainfonts;            /* retain loaded fonts? */
32  
28 #ifdef NOPROTO
33  
30 extern FONT  *getfont();
31 extern void  freefont();
32 extern int  uniftext();
33 extern int  squeeztext();
34 extern int  proptext();
35
36 #else
37
34   extern FONT  *getfont(char *fname);
35   extern void  freefont(FONT *f);
36   extern int  uniftext(short *sp, char *tp, FONT *f);
37   extern int  squeeztext(short *sp, char *tp, FONT *f, int cis);
38   extern int  proptext(short *sp, char *tp, FONT *f, int cis, int nsi);
39  
40 +
41 + #ifdef __cplusplus
42 + }
43   #endif
44 + #endif /* _RAD_FONT_H_ */
45 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines