OLD | NEW |
1 /***************************************************************************/ | 1 /***************************************************************************/ |
2 /* */ | 2 /* */ |
3 /* ftrender.h */ | 3 /* ftrender.h */ |
4 /* */ | 4 /* */ |
5 /* FreeType renderer modules public interface (specification). */ | 5 /* FreeType renderer modules public interface (specification). */ |
6 /* */ | 6 /* */ |
7 /* Copyright 1996-2001, 2005, 2006, 2010 by */ | 7 /* Copyright 1996-2015 by */ |
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | 8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
9 /* */ | 9 /* */ |
10 /* This file is part of the FreeType project, and may only be used, */ | 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 */ | 11 /* modified, and distributed under the terms of the FreeType project */ |
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ |
13 /* this file you indicate that you have read the license and */ | 13 /* this file you indicate that you have read the license and */ |
14 /* understand and accept it fully. */ | 14 /* understand and accept it fully. */ |
15 /* */ | 15 /* */ |
16 /***************************************************************************/ | 16 /***************************************************************************/ |
17 | 17 |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 /* */ | 205 /* */ |
206 /* <Return> */ | 206 /* <Return> */ |
207 /* FreeType error code. 0~means success. */ | 207 /* FreeType error code. 0~means success. */ |
208 /* */ | 208 /* */ |
209 /* <Note> */ | 209 /* <Note> */ |
210 /* In case of success, the renderer will be used to convert glyph */ | 210 /* In case of success, the renderer will be used to convert glyph */ |
211 /* images in the renderer's known format into bitmaps. */ | 211 /* images in the renderer's known format into bitmaps. */ |
212 /* */ | 212 /* */ |
213 /* This doesn't change the current renderer for other formats. */ | 213 /* This doesn't change the current renderer for other formats. */ |
214 /* */ | 214 /* */ |
215 /* Currently, only the B/W renderer, if compiled with */ | 215 /* Currently, no FreeType renderer module uses `parameters'; you */ |
216 /* FT_RASTER_OPTION_ANTI_ALIASING (providing a 5-levels */ | 216 /* should thus always pass NULL as the value. */ |
217 /* anti-aliasing mode; this option must be set directly in */ | |
218 /* `ftraster.c' and is undefined by default) accepts a single tag */ | |
219 /* `pal5' to set its gray palette as a character string with */ | |
220 /* 5~elements. Consequently, the third and fourth argument are zero */ | |
221 /* normally. */ | |
222 /* */ | 217 /* */ |
223 FT_EXPORT( FT_Error ) | 218 FT_EXPORT( FT_Error ) |
224 FT_Set_Renderer( FT_Library library, | 219 FT_Set_Renderer( FT_Library library, |
225 FT_Renderer renderer, | 220 FT_Renderer renderer, |
226 FT_UInt num_params, | 221 FT_UInt num_params, |
227 FT_Parameter* parameters ); | 222 FT_Parameter* parameters ); |
228 | 223 |
229 /* */ | 224 /* */ |
230 | 225 |
231 | 226 |
232 FT_END_HEADER | 227 FT_END_HEADER |
233 | 228 |
234 #endif /* __FTRENDER_H__ */ | 229 #endif /* __FTRENDER_H__ */ |
235 | 230 |
236 | 231 |
237 /* END */ | 232 /* END */ |
OLD | NEW |