OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* pshrec.h */ | 3 /* pshrec.h */ |
4 /* */ | 4 /* */ |
5 /* Postscript (Type1/Type2) hints recorder (specification). */ | 5 /* Postscript (Type1/Type2) hints recorder (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 2001, 2002, 2003, 2006, 2008, 2014 by */ | 7 /* Copyright 2001-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
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 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 /* hint types */ | 54 /* hint types */ |
55 typedef enum PS_Hint_Type_ | 55 typedef enum PS_Hint_Type_ |
56 { | 56 { |
57 PS_HINT_TYPE_1 = 1, | 57 PS_HINT_TYPE_1 = 1, |
58 PS_HINT_TYPE_2 = 2 | 58 PS_HINT_TYPE_2 = 2 |
59 | 59 |
60 } PS_Hint_Type; | 60 } PS_Hint_Type; |
61 | 61 |
62 | 62 |
63 /* hint flags */ | 63 /* hint flags */ |
64 typedef enum PS_Hint_Flags_ | 64 #define PS_HINT_FLAG_GHOST 1U |
65 { | 65 #define PS_HINT_FLAG_BOTTOM 2U |
66 PS_HINT_FLAG_GHOST = 1, | |
67 PS_HINT_FLAG_BOTTOM = 2 | |
68 | |
69 } PS_Hint_Flags; | |
70 | 66 |
71 | 67 |
72 /* hint descriptor */ | 68 /* hint descriptor */ |
73 typedef struct PS_HintRec_ | 69 typedef struct PS_HintRec_ |
74 { | 70 { |
75 FT_Int pos; | 71 FT_Int pos; |
76 FT_Int len; | 72 FT_Int len; |
77 FT_UInt flags; | 73 FT_UInt flags; |
78 | 74 |
79 } PS_HintRec; | 75 } PS_HintRec; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 /* */ | 163 /* */ |
168 | 164 |
169 | 165 |
170 FT_END_HEADER | 166 FT_END_HEADER |
171 | 167 |
172 | 168 |
173 #endif /* __PS_HINTER_RECORD_H__ */ | 169 #endif /* __PS_HINTER_RECORD_H__ */ |
174 | 170 |
175 | 171 |
176 /* END */ | 172 /* END */ |
OLD | NEW |