Name Description Size
ftgrays.c This file can be compiled without the rest of the FreeType engine, by defining the STANDALONE_ macro when compiling it. You also need to put the files `ftgrays.h' and `ftimage.h' into the current compilation directory. Typically, you could do something like - copy `src/smooth/ftgrays.c' (this file) to your current directory - copy `include/freetype/ftimage.h' and `src/smooth/ftgrays.h' to the same directory - compile `ftgrays' with the STANDALONE_ macro defined, as in cc -c -DSTANDALONE_ ftgrays.c The renderer can be initialized with a call to `ft_gray_raster.raster_new'; an anti-aliased bitmap can be generated with a call to `ft_gray_raster.raster_render'. See the comments and documentation in the file `ftimage.h' for more details on how the raster works. 60116
ftgrays.h To make ftgrays.h independent from configuration files we check whether FT_EXPORT_VAR has been defined already. On some systems and compilers (Win32 mostly), an extra keyword is necessary to compile the library as a DLL. 1260
ftsmerrs.h This file is used to define the smooth renderer error enumeration constants. 997
ftsmooth.c sets render-specific mode 16549
ftsmooth.h FTSMOOTH_H_ 751
module.mk 678
rules.mk 1856
smooth.c END 657