1
0

ftpic.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /***************************************************************************/
  2. /* */
  3. /* ftpic.h */
  4. /* */
  5. /* The FreeType position independent code services (declaration). */
  6. /* */
  7. /* Copyright 2009, 2012 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. */
  42. /* stored in the container. */
  43. FT_BASE( FT_Error )
  44. ft_pic_container_init( FT_Library library );
  45. /* Destroy the contents of the container. */
  46. FT_BASE( void )
  47. ft_pic_container_destroy( FT_Library library );
  48. #endif /* FT_CONFIG_OPTION_PIC */
  49. /* */
  50. FT_END_HEADER
  51. #endif /* __FTPIC_H__ */
  52. /* END */