OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* basepic.h */ | 3 /* basepic.h */ |
4 /* */ | 4 /* */ |
5 /* The FreeType position independent code services for base. */ | 5 /* The FreeType position independent code services for base. */ |
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 __BASEPIC_H__ | 19 #ifndef __BASEPIC_H__ |
20 #define __BASEPIC_H__ | 20 #define __BASEPIC_H__ |
21 | 21 |
22 | 22 |
23 FT_BEGIN_HEADER | 23 FT_BEGIN_HEADER |
24 | 24 |
25 #include "../../include/freetype/internal/ftpic.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 FT_OUTLINE_GLYPH_CLASS_GET &ft_outline_glyph_class | 29 #define FT_OUTLINE_GLYPH_CLASS_GET &ft_outline_glyph_class |
30 #define FT_BITMAP_GLYPH_CLASS_GET &ft_bitmap_glyph_class | 30 #define FT_BITMAP_GLYPH_CLASS_GET &ft_bitmap_glyph_class |
31 #define FT_DEFAULT_MODULES_GET ft_default_modules | 31 #define FT_DEFAULT_MODULES_GET ft_default_modules |
32 | 32 |
33 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK | 33 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK |
34 #define FT_RACCESS_GUESS_TABLE_GET ft_raccess_guess_table | 34 #define FT_RACCESS_GUESS_TABLE_GET ft_raccess_guess_table |
35 #endif | 35 #endif |
36 | 36 |
37 #else /* FT_CONFIG_OPTION_PIC */ | 37 #else /* FT_CONFIG_OPTION_PIC */ |
38 | 38 |
39 #include "../../include/freetype/ftglyph.h" | 39 #include FT_GLYPH_H |
40 | 40 |
41 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK | 41 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK |
42 #include "../../include/freetype/internal/ftrfork.h" | 42 #include FT_INTERNAL_RFORK_H |
43 #endif | 43 #endif |
44 | 44 |
45 | 45 |
46 typedef struct BasePIC_ | 46 typedef struct BasePIC_ |
47 { | 47 { |
48 FT_Module_Class** default_module_classes; | 48 FT_Module_Class** default_module_classes; |
49 FT_Glyph_Class ft_outline_glyph_class; | 49 FT_Glyph_Class ft_outline_glyph_class; |
50 FT_Glyph_Class ft_bitmap_glyph_class; | 50 FT_Glyph_Class ft_bitmap_glyph_class; |
51 | 51 |
52 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK | 52 #ifdef FT_CONFIG_OPTION_GUESSING_EMBEDDED_RFORK |
(...skipping 28 matching lines...) Expand all Loading... |
81 #endif /* FT_CONFIG_OPTION_PIC */ | 81 #endif /* FT_CONFIG_OPTION_PIC */ |
82 | 82 |
83 /* */ | 83 /* */ |
84 | 84 |
85 FT_END_HEADER | 85 FT_END_HEADER |
86 | 86 |
87 #endif /* __BASEPIC_H__ */ | 87 #endif /* __BASEPIC_H__ */ |
88 | 88 |
89 | 89 |
90 /* END */ | 90 /* END */ |
OLD | NEW |