00001 /***************************************************************************/ 00002 /* */ 00003 /* ftpic.h */ 00004 /* */ 00005 /* The FreeType position independent code services (declaration). */ 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 /* */ 00020 /* Modules that ordinarily have const global data that need address */ 00021 /* can instead define pointers here. */ 00022 /* */ 00023 /*************************************************************************/ 00024 00025 00026 #ifndef __FTPIC_H__ 00027 #define __FTPIC_H__ 00028 00029 00030 FT_BEGIN_HEADER 00031 00032 #ifdef FT_CONFIG_OPTION_PIC 00033 00034 typedef struct FT_PIC_Container_ 00035 { 00036 /* pic containers for base */ 00037 void* base; 00038 /* pic containers for modules */ 00039 void* autofit; 00040 void* cff; 00041 void* pshinter; 00042 void* psnames; 00043 void* raster; 00044 void* sfnt; 00045 void* smooth; 00046 void* truetype; 00047 } FT_PIC_Container; 00048 00049 /* Initialize the various function tables, structs, etc. stored in the container. */ 00050 FT_BASE( FT_Error ) 00051 ft_pic_container_init( FT_Library library ); 00052 00053 00054 /* Destroy the contents of the container. */ 00055 FT_BASE( void ) 00056 ft_pic_container_destroy( FT_Library library ); 00057 00058 #endif /* FT_CONFIG_OPTION_PIC */ 00059 00060 /* */ 00061 00062 FT_END_HEADER 00063 00064 #endif /* __FTPIC_H__ */ 00065 00066 00067 /* END */