1 /***************************************************************************/
5 /* The FreeType position independent code services for pshinter module. */
7 /* Copyright 2009, 2012 by */
8 /* Oran Agra and Mickey Gabel. */
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 */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
25 #include FT_INTERNAL_PIC_H
28 #ifndef FT_CONFIG_OPTION_PIC
30 #define PSHINTER_INTERFACE_GET pshinter_interface
32 #else /* FT_CONFIG_OPTION_PIC */
34 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
36 typedef struct PSHinterPIC_
38 PSHinter_Interface pshinter_interface;
43 #define GET_PIC( lib ) ( (PSHinterPIC*)((lib)->pic_container.autofit) )
45 #define PSHINTER_INTERFACE_GET ( GET_PIC( library )->pshinter_interface )
47 /* see pshpic.c for the implementation */
49 pshinter_module_class_pic_free( FT_Library library );
52 pshinter_module_class_pic_init( FT_Library library );
54 #endif /* FT_CONFIG_OPTION_PIC */
60 #endif /* __PSHPIC_H__ */