/src/freetype/src/raster/rastpic.h

https://bitbucket.org/cabalistic/ogredeps/ · C++ Header · 63 lines · 25 code · 19 blank · 19 comment · 0 complexity · 17c987e91a5279b749affdd744284ea8 MD5 · raw file

  1. /***************************************************************************/
  2. /* */
  3. /* rastpic.h */
  4. /* */
  5. /* The FreeType position independent code services for raster 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 __RASTPIC_H__
  18. #define __RASTPIC_H__
  19. FT_BEGIN_HEADER
  20. #include FT_INTERNAL_PIC_H
  21. #ifndef FT_CONFIG_OPTION_PIC
  22. #define FT_STANDARD_RASTER_GET ft_standard_raster
  23. #else /* FT_CONFIG_OPTION_PIC */
  24. typedef struct RasterPIC_
  25. {
  26. int ref_count;
  27. FT_Raster_Funcs ft_standard_raster;
  28. } RasterPIC;
  29. #define GET_PIC(lib) ((RasterPIC*)((lib)->pic_container.raster))
  30. #define FT_STANDARD_RASTER_GET (GET_PIC(library)->ft_standard_raster)
  31. /* see rastpic.c for the implementation */
  32. void
  33. ft_raster1_renderer_class_pic_free( FT_Library library );
  34. void
  35. ft_raster5_renderer_class_pic_free( FT_Library library );
  36. FT_Error
  37. ft_raster1_renderer_class_pic_init( FT_Library library );
  38. FT_Error
  39. ft_raster5_renderer_class_pic_init( FT_Library library );
  40. #endif /* FT_CONFIG_OPTION_PIC */
  41. /* */
  42. FT_END_HEADER
  43. #endif /* __RASTPIC_H__ */
  44. /* END */