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 18 19 #ifndef __FTGRAYS_H__ 20 #define __FTGRAYS_H__ 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif 25 26 27 #ifdef _STANDALONE_ 28 #include "ftimage.h" 29 #else 30 #include <ft2build.h> 31 #include FT_IMAGE_H 32 #endif 33 34 35 /*************************************************************************/ 36 /* */ 37 /* To make ftgrays.h independent from configuration files we check */ 38 /* whether FT_EXPORT_VAR has been defined already. */ 39 /* */ 40 /* On some systems and compilers (Win32 mostly), an extra keyword is */ 41 /* necessary to compile the library as a DLL. */ 42 /* */ 43 #ifndef FT_EXPORT_VAR 44 #define FT_EXPORT_VAR( x ) extern x 45 #endif 46 47 FT_EXPORT_VAR( const FT_Raster_Funcs ) ft_grays_raster; 48 49 50 #ifdef __cplusplus 51 } 52 #endif 53 54 #endif /* __FTGRAYS_H__ */ 55 56 57 /* END */ 58