1 /***************************************************************************/
5 /* The FreeType position independent code services for smooth module. */
7 /* Copyright 2009-2016 by */
8 /* Oran Agra and Mickey Gabel. */
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. */
16 /***************************************************************************/
23 #include FT_INTERNAL_PIC_H
28 #ifndef FT_CONFIG_OPTION_PIC
30 #define FT_GRAYS_RASTER_GET ft_grays_raster
32 #else /* FT_CONFIG_OPTION_PIC */
34 typedef struct SmoothPIC_
37 FT_Raster_Funcs ft_grays_raster
;
42 #define GET_PIC( lib ) \
43 ( (SmoothPIC*)( (lib)->pic_container.smooth ) )
44 #define FT_GRAYS_RASTER_GET ( GET_PIC( library )->ft_grays_raster )
47 /* see ftspic.c for the implementation */
49 ft_smooth_renderer_class_pic_free( FT_Library library
);
52 ft_smooth_lcd_renderer_class_pic_free( FT_Library library
);
55 ft_smooth_lcdv_renderer_class_pic_free( FT_Library library
);
58 ft_smooth_renderer_class_pic_init( FT_Library library
);
61 ft_smooth_lcd_renderer_class_pic_init( FT_Library library
);
64 ft_smooth_lcdv_renderer_class_pic_init( FT_Library library
);
66 #endif /* FT_CONFIG_OPTION_PIC */
72 #endif /* FTSPIC_H_ */