ftgrays.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /***************************************************************************/
  2. /* */
  3. /* ftgrays.h */
  4. /* */
  5. /* FreeType smooth renderer declaration */
  6. /* */
  7. /* Copyright 1996-2001 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 __FTGRAYS_H__
  18. #define __FTGRAYS_H__
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #ifdef _STANDALONE_
  23. #include "ftimage.h"
  24. #else
  25. #include <ft2build.h>
  26. #include FT_IMAGE_H
  27. #endif
  28. /*************************************************************************/
  29. /* */
  30. /* To make ftgrays.h independent from configuration files we check */
  31. /* whether FT_EXPORT_VAR has been defined already. */
  32. /* */
  33. /* On some systems and compilers (Win32 mostly), an extra keyword is */
  34. /* necessary to compile the library as a DLL. */
  35. /* */
  36. #ifndef FT_EXPORT_VAR
  37. #define FT_EXPORT_VAR( x ) extern x
  38. #endif
  39. FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster;
  40. #ifdef __cplusplus
  41. }
  42. #endif
  43. #endif /* __FTGRAYS_H__ */
  44. /* END */