00001 /***************************************************************************/ 00002 /* */ 00003 /* ftgrays.h */ 00004 /* */ 00005 /* FreeType smooth renderer declaration */ 00006 /* */ 00007 /* Copyright 1996-2001 by */ 00008 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 00009 /* */ 00010 /* This file is part of the FreeType project, and may only be used, */ 00011 /* modified, and distributed under the terms of the FreeType project */ 00012 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 00013 /* this file you indicate that you have read the license and */ 00014 /* understand and accept it fully. */ 00015 /* */ 00016 /***************************************************************************/ 00017 00018 00019 #ifndef __FTGRAYS_H__ 00020 #define __FTGRAYS_H__ 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 00027 #ifdef _STANDALONE_ 00028 #include "ftimage.h" 00029 #else 00030 #include <ft2build.h> 00031 #include FT_CONFIG_CONFIG_H /* for FT_CONFIG_OPTION_PIC */ 00032 #include FT_IMAGE_H 00033 #endif 00034 00035 00036 /*************************************************************************/ 00037 /* */ 00038 /* To make ftgrays.h independent from configuration files we check */ 00039 /* whether FT_EXPORT_VAR has been defined already. */ 00040 /* */ 00041 /* On some systems and compilers (Win32 mostly), an extra keyword is */ 00042 /* necessary to compile the library as a DLL. */ 00043 /* */ 00044 #ifndef FT_EXPORT_VAR 00045 #define FT_EXPORT_VAR( x ) extern x 00046 #endif 00047 00048 FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster; 00049 00050 00051 #ifdef __cplusplus 00052 } 00053 #endif 00054 00055 #endif /* __FTGRAYS_H__ */ 00056 00057 00058 /* END */