PageRenderTime 35ms CodeModel.GetById 27ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/src/compiler/android-ndk/jni/freetype/src/pshinter/pshpic.h

http://ftk.googlecode.com/
C++ Header | 53 lines | 17 code | 18 blank | 18 comment | 0 complexity | 141f0ba14384d67806491c50e9a8a37c MD5 | raw 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  
23FT_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
44#endif /* FT_CONFIG_OPTION_PIC */
45
46 /* */
47
48FT_END_HEADER
49
50#endif /* __PSHPIC_H__ */
51
52
53/* END */