| OLD | NEW |
| 1 /***************************************************************************/ | 1 /***************************************************************************/ |
| 2 /* */ | 2 /* */ |
| 3 /* ftpic.h */ | 3 /* ftpic.h */ |
| 4 /* */ | 4 /* */ |
| 5 /* The FreeType position independent code services (declaration). */ | 5 /* The FreeType position independent code services (declaration). */ |
| 6 /* */ | 6 /* */ |
| 7 /* Copyright 2009 by */ | 7 /* Copyright 2009, 2012 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 /* */ | 19 /* */ |
| 20 /* Modules that ordinarily have const global data that need address */ | 20 /* Modules that ordinarily have const global data that need address */ |
| 21 /* can instead define pointers here. */ | 21 /* can instead define pointers here. */ |
| 22 /* */ | 22 /* */ |
| 23 /*************************************************************************/ | 23 /*************************************************************************/ |
| 24 | 24 |
| 25 | 25 |
| 26 #ifndef __FTPIC_H__ | 26 #ifndef __FTPIC_H__ |
| 27 #define __FTPIC_H__ | 27 #define __FTPIC_H__ |
| 28 | 28 |
| 29 | 29 |
| 30 FT_BEGIN_HEADER | 30 FT_BEGIN_HEADER |
| 31 | 31 |
| 32 #ifdef FT_CONFIG_OPTION_PIC | 32 #ifdef FT_CONFIG_OPTION_PIC |
| 33 | 33 |
| 34 typedef struct FT_PIC_Container_ | 34 typedef struct FT_PIC_Container_ |
| 35 { | 35 { |
| 36 /* pic containers for base */ | 36 /* pic containers for base */ |
| 37 void* base; | 37 void* base; |
| 38 |
| 38 /* pic containers for modules */ | 39 /* pic containers for modules */ |
| 39 void* autofit; | 40 void* autofit; |
| 40 void* cff; | 41 void* cff; |
| 41 void* pshinter; | 42 void* pshinter; |
| 42 void* psnames; | 43 void* psnames; |
| 43 void* raster; | 44 void* raster; |
| 44 void* sfnt; | 45 void* sfnt; |
| 45 void* smooth; | 46 void* smooth; |
| 46 void* truetype; | 47 void* truetype; |
| 48 |
| 47 } FT_PIC_Container; | 49 } FT_PIC_Container; |
| 48 | 50 |
| 49 /* Initialize the various function tables, structs, etc. stored in the contain
er. */ | 51 |
| 52 /* Initialize the various function tables, structs, etc. */ |
| 53 /* stored in the container. */ |
| 50 FT_BASE( FT_Error ) | 54 FT_BASE( FT_Error ) |
| 51 ft_pic_container_init( FT_Library library ); | 55 ft_pic_container_init( FT_Library library ); |
| 52 | 56 |
| 53 | 57 |
| 54 /* Destroy the contents of the container. */ | 58 /* Destroy the contents of the container. */ |
| 55 FT_BASE( void ) | 59 FT_BASE( void ) |
| 56 ft_pic_container_destroy( FT_Library library ); | 60 ft_pic_container_destroy( FT_Library library ); |
| 57 | 61 |
| 58 #endif /* FT_CONFIG_OPTION_PIC */ | 62 #endif /* FT_CONFIG_OPTION_PIC */ |
| 59 | 63 |
| 60 /* */ | 64 /* */ |
| 61 | 65 |
| 62 FT_END_HEADER | 66 FT_END_HEADER |
| 63 | 67 |
| 64 #endif /* __FTPIC_H__ */ | 68 #endif /* __FTPIC_H__ */ |
| 65 | 69 |
| 66 | 70 |
| 67 /* END */ | 71 /* END */ |
| OLD | NEW |