OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* pshpic.h */ | 3 /* pshpic.h */ |
4 /* */ | 4 /* */ |
5 /* The FreeType position independent code services for pshinter module. */ | 5 /* The FreeType position independent code services for pshinter module. */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2009 by */ | 7 /* Copyright 2009 by */ |
8 /* Oran Agra and Mickey Gabel. */ | 8 /* Oran Agra and Mickey Gabel. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 10 /* This file is part of the FreeType project, and may only be used, */ |
11 /* modified, and distributed under the terms of the FreeType project */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
18 | 18 |
19 #ifndef __PSHPIC_H__ | 19 #ifndef __PSHPIC_H__ |
20 #define __PSHPIC_H__ | 20 #define __PSHPIC_H__ |
21 | 21 |
22 | 22 |
23 FT_BEGIN_HEADER | 23 FT_BEGIN_HEADER |
24 | 24 |
25 #include FT_INTERNAL_PIC_H | 25 #include FT_INTERNAL_PIC_H |
26 | 26 |
27 #ifndef FT_CONFIG_OPTION_PIC | 27 #ifndef FT_CONFIG_OPTION_PIC |
28 | 28 |
29 #define FTPSHINTER_INTERFACE_GET pshinter_interface | 29 #define FTPSHINTER_INTERFACE_GET pshinter_interface |
30 | 30 |
31 #else /* FT_CONFIG_OPTION_PIC */ | 31 #else /* FT_CONFIG_OPTION_PIC */ |
32 | 32 |
33 #include FT_INTERNAL_POSTSCRIPT_HINTS_H | 33 #include FT_INTERNAL_POSTSCRIPT_HINTS_H |
34 | 34 |
35 typedef struct PSHinterPIC_ | 35 typedef struct PSHinterPIC_ |
36 { | 36 { |
37 PSHinter_Interface pshinter_interface; | 37 PSHinter_Interface pshinter_interface; |
38 } PSHinterPIC; | 38 } PSHinterPIC; |
39 | 39 |
40 #define GET_PIC(lib) ((PSHinterPIC*)((lib)->pic_container.aut
ofit)) | 40 #define GET_PIC(lib) ((PSHinterPIC*)((lib)->pic_container.aut
ofit)) |
41 #define FTPSHINTER_INTERFACE_GET (GET_PIC(library)->pshinter_interface) | 41 #define FTPSHINTER_INTERFACE_GET (GET_PIC(library)->pshinter_interface) |
42 | 42 |
| 43 /* see pshpic.c for the implementation */ |
| 44 void |
| 45 pshinter_module_class_pic_free( FT_Library library ); |
| 46 |
| 47 FT_Error |
| 48 pshinter_module_class_pic_init( FT_Library library ); |
43 | 49 |
44 #endif /* FT_CONFIG_OPTION_PIC */ | 50 #endif /* FT_CONFIG_OPTION_PIC */ |
45 | 51 |
46 /* */ | 52 /* */ |
47 | 53 |
48 FT_END_HEADER | 54 FT_END_HEADER |
49 | 55 |
50 #endif /* __PSHPIC_H__ */ | 56 #endif /* __PSHPIC_H__ */ |
51 | 57 |
52 | 58 |
53 /* END */ | 59 /* END */ |
OLD | NEW |