pshpic.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  pshpic.h                                                               */
00004 /*                                                                         */
00005 /*    The FreeType position independent code services for pshinter module. */
00006 /*                                                                         */
00007 /*  Copyright 2009 by                                                      */
00008 /*  Oran Agra and Mickey Gabel.                                            */
00009 /*                                                                         */
00010 /*  This file is part of the FreeType project, and may only be used,       */
00011 /*  modified, and distributed under the terms of the FreeType project      */
00012 /*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
00013 /*  this file you indicate that you have read the license and              */
00014 /*  understand and accept it fully.                                        */
00015 /*                                                                         */
00016 /***************************************************************************/
00017 
00018 
00019 #ifndef __PSHPIC_H__
00020 #define __PSHPIC_H__
00021 
00022   
00023 FT_BEGIN_HEADER
00024 
00025 #include FT_INTERNAL_PIC_H
00026 
00027 #ifndef FT_CONFIG_OPTION_PIC
00028 
00029 #define FTPSHINTER_INTERFACE_GET        pshinter_interface
00030 
00031 #else /* FT_CONFIG_OPTION_PIC */
00032 
00033 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
00034 
00035   typedef struct PSHinterPIC_
00036   {
00037     PSHinter_Interface pshinter_interface;
00038   } PSHinterPIC;
00039 
00040 #define GET_PIC(lib)                    ((PSHinterPIC*)((lib)->pic_container.autofit))
00041 #define FTPSHINTER_INTERFACE_GET        (GET_PIC(library)->pshinter_interface)
00042 
00043 
00044 #endif /* FT_CONFIG_OPTION_PIC */
00045 
00046  /* */
00047 
00048 FT_END_HEADER
00049 
00050 #endif /* __PSHPIC_H__ */
00051 
00052 
00053 /* END */

Generated on Tue Jul 5 14:13:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1