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