pspic.h

Go to the documentation of this file.
00001 /***************************************************************************/
00002 /*                                                                         */
00003 /*  pspic.h                                                                */
00004 /*                                                                         */
00005 /*    The FreeType position independent code services for psnames 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 __PSPIC_H__
00020 #define __PSPIC_H__
00021 
00022   
00023 FT_BEGIN_HEADER
00024 
00025 #include FT_INTERNAL_PIC_H
00026 
00027 #ifndef FT_CONFIG_OPTION_PIC
00028 #define FT_PSCMAPS_SERVICES_GET     pscmaps_services
00029 #define FT_PSCMAPS_INTERFACE_GET    pscmaps_interface
00030 
00031 #else /* FT_CONFIG_OPTION_PIC */
00032 
00033 #include FT_SERVICE_POSTSCRIPT_CMAPS_H
00034 
00035   typedef struct PSModulePIC_
00036   {
00037     FT_ServiceDescRec* pscmaps_services;
00038     FT_Service_PsCMapsRec pscmaps_interface;
00039   } PSModulePIC;
00040 
00041 #define GET_PIC(lib)                ((PSModulePIC*)((lib)->pic_container.psnames))
00042 #define FT_PSCMAPS_SERVICES_GET     (GET_PIC(library)->pscmaps_services)
00043 #define FT_PSCMAPS_INTERFACE_GET    (GET_PIC(library)->pscmaps_interface)
00044 
00045 #endif /* FT_CONFIG_OPTION_PIC */
00046 
00047  /* */
00048 
00049 FT_END_HEADER
00050 
00051 #endif /* __PSPIC_H__ */
00052 
00053 
00054 /* END */

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