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.7 by greg, Fri Jun 27 06:53:21 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  
6 #include "copyright.h"
7
11   typedef unsigned char  GORD;
12  
13   typedef struct {
# Line 25 | Line 28 | typedef struct font {
28  
29   extern int      retainfonts;            /* retain loaded fonts? */
30  
28 #ifdef NOPROTO
31  
30 extern FONT  *getfont();
31 extern void  freefont();
32 extern int  uniftext();
33 extern int  squeeztext();
34 extern int  proptext();
35
36 #else
37
32   extern FONT  *getfont(char *fname);
33   extern void  freefont(FONT *f);
34   extern int  uniftext(short *sp, char *tp, FONT *f);
35   extern int  squeeztext(short *sp, char *tp, FONT *f, int cis);
36   extern int  proptext(short *sp, char *tp, FONT *f, int cis, int nsi);
37  
38 +
39 + #ifdef __cplusplus
40 + }
41   #endif
42 + #endif /* _RAD_FONT_H_ */
43 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines