/src/freetype/src/cache/ftccback.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 92 lines · 53 code · 22 blank · 17 comment · 0 complexity · 462c9527a65b36d115159b1a515b2c18 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* ftccback.h */
  4. /* */
  5. /* Callback functions of the caching sub-system (specification only). */
  6. /* */
  7. /* Copyright 2004, 2005, 2006, 2011 by */
  8. /* David Turner, Robert Wilhelm, and Werner Lemberg. */
  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 __FTCCBACK_H__
  18. #define __FTCCBACK_H__
  19. #include <ft2build.h>
  20. #include FT_CACHE_H
  21. #include "ftcmru.h"
  22. #include "ftcimage.h"
  23. #include "ftcmanag.h"
  24. #include "ftcglyph.h"
  25. #include "ftcsbits.h"
  26. FT_LOCAL( void )
  27. ftc_inode_free( FTC_Node inode,
  28. FTC_Cache cache );
  29. FT_LOCAL( FT_Error )
  30. ftc_inode_new( FTC_Node *pinode,
  31. FT_Pointer gquery,
  32. FTC_Cache cache );
  33. FT_LOCAL( FT_Offset )
  34. ftc_inode_weight( FTC_Node inode,
  35. FTC_Cache cache );
  36. FT_LOCAL( void )
  37. ftc_snode_free( FTC_Node snode,
  38. FTC_Cache cache );
  39. FT_LOCAL( FT_Error )
  40. ftc_snode_new( FTC_Node *psnode,
  41. FT_Pointer gquery,
  42. FTC_Cache cache );
  43. FT_LOCAL( FT_Offset )
  44. ftc_snode_weight( FTC_Node snode,
  45. FTC_Cache cache );
  46. FT_LOCAL( FT_Bool )
  47. ftc_snode_compare( FTC_Node snode,
  48. FT_Pointer gquery,
  49. FTC_Cache cache,
  50. FT_Bool* list_changed );
  51. FT_LOCAL( FT_Bool )
  52. ftc_gnode_compare( FTC_Node gnode,
  53. FT_Pointer gquery,
  54. FTC_Cache cache,
  55. FT_Bool* list_changed );
  56. FT_LOCAL( FT_Error )
  57. ftc_gcache_init( FTC_Cache cache );
  58. FT_LOCAL( void )
  59. ftc_gcache_done( FTC_Cache cache );
  60. FT_LOCAL( FT_Error )
  61. ftc_cache_init( FTC_Cache cache );
  62. FT_LOCAL( void )
  63. ftc_cache_done( FTC_Cache cache );
  64. #ifndef FT_CONFIG_OPTION_OLD_INTERNALS
  65. FT_LOCAL( void )
  66. ftc_node_destroy( FTC_Node node,
  67. FTC_Manager manager );
  68. #endif
  69. #endif /* __FTCCBACK_H__ */
  70. /* END */