src/java.desktop/share/native/libfreetype/src/pshinter/pshpic.h
changeset 54876 da3834261f0c
parent 54875 bcfedddcf4ce
child 54877 dde07ac16610
equal deleted inserted replaced
54875:bcfedddcf4ce 54876:da3834261f0c
     1 /***************************************************************************/
       
     2 /*                                                                         */
       
     3 /*  pshpic.h                                                               */
       
     4 /*                                                                         */
       
     5 /*    The FreeType position independent code services for pshinter module. */
       
     6 /*                                                                         */
       
     7 /*  Copyright 2009-2018 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 #include FT_INTERNAL_PIC_H
       
    24 
       
    25 
       
    26 #ifndef FT_CONFIG_OPTION_PIC
       
    27 
       
    28 #define PSHINTER_INTERFACE_GET  pshinter_interface
       
    29 
       
    30 #else /* FT_CONFIG_OPTION_PIC */
       
    31 
       
    32 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
       
    33 
       
    34 FT_BEGIN_HEADER
       
    35 
       
    36   typedef struct  PSHinterPIC_
       
    37   {
       
    38     PSHinter_Interface  pshinter_interface;
       
    39 
       
    40   } PSHinterPIC;
       
    41 
       
    42 
       
    43 #define GET_PIC( lib )  ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) )
       
    44 
       
    45 #define PSHINTER_INTERFACE_GET  ( GET_PIC( library )->pshinter_interface )
       
    46 
       
    47   /* see pshpic.c for the implementation */
       
    48   void
       
    49   pshinter_module_class_pic_free( FT_Library  library );
       
    50 
       
    51   FT_Error
       
    52   pshinter_module_class_pic_init( FT_Library  library );
       
    53 
       
    54 FT_END_HEADER
       
    55 
       
    56 #endif /* FT_CONFIG_OPTION_PIC */
       
    57 
       
    58  /* */
       
    59 
       
    60 #endif /* PSHPIC_H_ */
       
    61 
       
    62 
       
    63 /* END */