Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: third_party/freetype/src/pshinter/pshpic.h

Issue 815103002: Update freetype to 2.5.4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Adjust GYP and GN Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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, 2012, 2013 by */ 7 /* Copyright 2009, 2012, 2013 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 "../../include/freetype/internal/ftpic.h" 25 #include FT_INTERNAL_PIC_H
26 26
27 27
28 #ifndef FT_CONFIG_OPTION_PIC 28 #ifndef FT_CONFIG_OPTION_PIC
29 29
30 #define PSHINTER_INTERFACE_GET pshinter_interface 30 #define PSHINTER_INTERFACE_GET pshinter_interface
31 31
32 #else /* FT_CONFIG_OPTION_PIC */ 32 #else /* FT_CONFIG_OPTION_PIC */
33 33
34 #include "../../include/freetype/internal/pshints.h" 34 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
35 35
36 typedef struct PSHinterPIC_ 36 typedef struct PSHinterPIC_
37 { 37 {
38 PSHinter_Interface pshinter_interface; 38 PSHinter_Interface pshinter_interface;
39 39
40 } PSHinterPIC; 40 } PSHinterPIC;
41 41
42 42
43 #define GET_PIC( lib ) ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) ) 43 #define GET_PIC( lib ) ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) )
44 44
45 #define PSHINTER_INTERFACE_GET ( GET_PIC( library )->pshinter_interface ) 45 #define PSHINTER_INTERFACE_GET ( GET_PIC( library )->pshinter_interface )
46 46
47 /* see pshpic.c for the implementation */ 47 /* see pshpic.c for the implementation */
48 void 48 void
49 pshinter_module_class_pic_free( FT_Library library ); 49 pshinter_module_class_pic_free( FT_Library library );
50 50
51 FT_Error 51 FT_Error
52 pshinter_module_class_pic_init( FT_Library library ); 52 pshinter_module_class_pic_init( FT_Library library );
53 53
54 #endif /* FT_CONFIG_OPTION_PIC */ 54 #endif /* FT_CONFIG_OPTION_PIC */
55 55
56 /* */ 56 /* */
57 57
58 FT_END_HEADER 58 FT_END_HEADER
59 59
60 #endif /* __PSHPIC_H__ */ 60 #endif /* __PSHPIC_H__ */
61 61
62 62
63 /* END */ 63 /* END */
OLDNEW
« no previous file with comments | « third_party/freetype/src/pshinter/pshnterr.h ('k') | third_party/freetype/src/pshinter/pshpic.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698