/modules/freetype2/include/freetype/internal/ftpic.h

http://github.com/zpao/v8monkey · C Header · 67 lines · 23 code · 16 blank · 28 comment · 0 complexity · c9e2780e63fe9a7f3ebd281e2fe702e8 MD5 · raw file

  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. /* Modules that ordinarily have const global data that need address */
  20. /* can instead define pointers here. */
  21. /* */
  22. /*************************************************************************/
  23. #ifndef __FTPIC_H__
  24. #define __FTPIC_H__
  25. FT_BEGIN_HEADER
  26. #ifdef FT_CONFIG_OPTION_PIC
  27. typedef struct FT_PIC_Container_
  28. {
  29. /* pic containers for base */
  30. void* base;
  31. /* pic containers for modules */
  32. void* autofit;
  33. void* cff;
  34. void* pshinter;
  35. void* psnames;
  36. void* raster;
  37. void* sfnt;
  38. void* smooth;
  39. void* truetype;
  40. } FT_PIC_Container;
  41. /* Initialize the various function tables, structs, etc. stored in the container. */
  42. FT_BASE( FT_Error )
  43. ft_pic_container_init( FT_Library library );
  44. /* Destroy the contents of the container. */
  45. FT_BASE( void )
  46. ft_pic_container_destroy( FT_Library library );
  47. #endif /* FT_CONFIG_OPTION_PIC */
  48. /* */
  49. FT_END_HEADER
  50. #endif /* __FTPIC_H__ */
  51. /* END */