• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /***************************************************************************/
2 /*                                                                         */
3 /*  ftpic.h                                                                */
4 /*                                                                         */
5 /*    The FreeType position independent code services (declaration).       */
6 /*                                                                         */
7 /*  Copyright 2009 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     /* pic containers for modules */
39     void* autofit;
40     void* cff;
41     void* pshinter;
42     void* psnames;
43     void* raster;
44     void* sfnt;
45     void* smooth;
46     void* truetype;
47   } FT_PIC_Container;
48 
49   /* Initialize the various function tables, structs, etc. stored in the container. */
50   FT_BASE( FT_Error )
51   ft_pic_container_init( FT_Library library );
52 
53 
54   /* Destroy the contents of the container. */
55   FT_BASE( void )
56   ft_pic_container_destroy( FT_Library library );
57 
58 #endif /* FT_CONFIG_OPTION_PIC */
59 
60  /* */
61 
62 FT_END_HEADER
63 
64 #endif /* __FTPIC_H__ */
65 
66 
67 /* END */
68