/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. #ifndef __PSHPIC_H__
  18. #define __PSHPIC_H__
  19. FT_BEGIN_HEADER
  20. #include FT_INTERNAL_PIC_H
  21. #ifndef FT_CONFIG_OPTION_PIC
  22. #define FTPSHINTER_INTERFACE_GET pshinter_interface
  23. #else /* FT_CONFIG_OPTION_PIC */
  24. #include FT_INTERNAL_POSTSCRIPT_HINTS_H
  25. typedef struct PSHinterPIC_
  26. {
  27. PSHinter_Interface pshinter_interface;
  28. } PSHinterPIC;
  29. #define GET_PIC(lib) ((PSHinterPIC*)((lib)->pic_container.autofit))
  30. #define FTPSHINTER_INTERFACE_GET (GET_PIC(library)->pshinter_interface)
  31. #endif /* FT_CONFIG_OPTION_PIC */
  32. /* */
  33. FT_END_HEADER
  34. #endif /* __PSHPIC_H__ */
  35. /* END */