zenilib: zenilib/jni/external/freetype2/src/pshinter/pshpic.h Source File

zenilib 0.5.3.0

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pshpic.h
Go to the documentation of this file.
1 /***************************************************************************/
2 /* */
3 /* pshpic.h */
4 /* */
5 /* The FreeType position independent code services for pshinter module. */
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 #ifndef __PSHPIC_H__
20 #define __PSHPIC_H__
21
22
23 FT_BEGIN_HEADER
24
25 #include FT_INTERNAL_PIC_H
26
27 #ifndef FT_CONFIG_OPTION_PIC
28
29 #define FTPSHINTER_INTERFACE_GET pshinter_interface
30
31 #else /* FT_CONFIG_OPTION_PIC */
32
33 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
34
35 typedef struct PSHinterPIC_
36 {
37 PSHinter_Interface pshinter_interface;
38 } PSHinterPIC;
39
40 #define GET_PIC(lib) ((PSHinterPIC*)((lib)->pic_container.autofit))
41 #define FTPSHINTER_INTERFACE_GET (GET_PIC(library)->pshinter_interface)
42
43 /* see pshpic.c for the implementation */
44 void
45 pshinter_module_class_pic_free( FT_Library library );
46
47 FT_Error
48 pshinter_module_class_pic_init( FT_Library library );
49
50 #endif /* FT_CONFIG_OPTION_PIC */
51
52 /* */
53
54 FT_END_HEADER
55
56 #endif /* __PSHPIC_H__ */
57
58
59 /* END */
FT_Error
int FT_Error
Definition: fttypes.h:296
FT_END_HEADER
#define FT_END_HEADER
Definition: ftheader.h:54
PSHinter_Interface_
Definition: pshints.h:672
library
FT_Library library
Definition: cffdrivr.c:409
FT_BEGIN_HEADER
#define FT_BEGIN_HEADER
Definition: ftheader.h:36
FT_LibraryRec_
Definition: ftobjs.h:824