/modules/freetype2/src/raster/rastpic.h

http://github.com/zpao/v8monkey · C Header · 50 lines · 17 code · 15 blank · 18 comment · 0 complexity · 0c34af545afe761125bbd3e4a3f48cab 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. #endif /* FT_CONFIG_OPTION_PIC */
  32. /* */
  33. FT_END_HEADER
  34. #endif /* __RASTPIC_H__ */
  35. /* END */