ftrender.h | ftrender.h | |||
---|---|---|---|---|
/************************************************************************** */ | /************************************************************************** */ | |||
/* */ | /* */ | |||
/* ftrender.h */ | /* ftrender.h */ | |||
/* */ | /* */ | |||
/* FreeType renderer modules public interface (specification). */ | /* FreeType renderer modules public interface (specification). */ | |||
/* */ | /* */ | |||
/* Copyright 1996-2001, 2005, 2006 by */ | /* Copyright 1996-2001, 2005, 2006, 2010 by */ | |||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ | /* David Turner, Robert Wilhelm, and Werner Lemberg. */ | |||
/* */ | /* */ | |||
/* This file is part of the FreeType project, and may only be used, */ | /* This file is part of the FreeType project, and may only be used, */ | |||
/* modified, and distributed under the terms of the FreeType project */ | /* modified, and distributed under the terms of the FreeType project */ | |||
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ | |||
/* this file you indicate that you have read the license and */ | /* this file you indicate that you have read the license and */ | |||
/* understand and accept it fully. */ | /* understand and accept it fully. */ | |||
/* */ | /* */ | |||
/************************************************************************** */ | /************************************************************************** */ | |||
skipping to change at line 134 | skipping to change at line 134 | |||
/* transform_glyph :: A method used to transform the image that is in */ | /* transform_glyph :: A method used to transform the image that is in */ | |||
/* a given glyph slot. */ | /* a given glyph slot. */ | |||
/* */ | /* */ | |||
/* get_glyph_cbox :: A method used to access the glyph's cbox. */ | /* get_glyph_cbox :: A method used to access the glyph's cbox. */ | |||
/* */ | /* */ | |||
/* set_mode :: A method used to pass additional parameters. */ | /* set_mode :: A method used to pass additional parameters. */ | |||
/* */ | /* */ | |||
/* raster_class :: For @FT_GLYPH_FORMAT_OUTLINE renderers only. */ | /* raster_class :: For @FT_GLYPH_FORMAT_OUTLINE renderers only. */ | |||
/* This is a pointer to its raster's class. */ | /* This is a pointer to its raster's class. */ | |||
/* */ | /* */ | |||
/* raster :: For @FT_GLYPH_FORMAT_OUTLINE renderers only. | ||||
*/ | ||||
/* This is a pointer to the corresponding raster | ||||
*/ | ||||
/* object, if any. | ||||
*/ | ||||
/* | ||||
*/ | ||||
typedef struct FT_Renderer_Class_ | typedef struct FT_Renderer_Class_ | |||
{ | { | |||
FT_Module_Class root; | FT_Module_Class root; | |||
FT_Glyph_Format glyph_format; | FT_Glyph_Format glyph_format; | |||
FT_Renderer_RenderFunc render_glyph; | FT_Renderer_RenderFunc render_glyph; | |||
FT_Renderer_TransformFunc transform_glyph; | FT_Renderer_TransformFunc transform_glyph; | |||
FT_Renderer_GetCBoxFunc get_glyph_cbox; | FT_Renderer_GetCBoxFunc get_glyph_cbox; | |||
FT_Renderer_SetModeFunc set_mode; | FT_Renderer_SetModeFunc set_mode; | |||
skipping to change at line 207 | skipping to change at line 203 | |||
/* */ | /* */ | |||
/* <Return> */ | /* <Return> */ | |||
/* FreeType error code. 0~means success. */ | /* FreeType error code. 0~means success. */ | |||
/* */ | /* */ | |||
/* <Note> */ | /* <Note> */ | |||
/* In case of success, the renderer will be used to convert glyph */ | /* In case of success, the renderer will be used to convert glyph */ | |||
/* images in the renderer's known format into bitmaps. */ | /* images in the renderer's known format into bitmaps. */ | |||
/* */ | /* */ | |||
/* This doesn't change the current renderer for other formats. */ | /* This doesn't change the current renderer for other formats. */ | |||
/* */ | /* */ | |||
/* Currently, only the B/W renderer, if compiled with | ||||
*/ | ||||
/* FT_RASTER_OPTION_ANTI_ALIASING (providing a 5-levels | ||||
*/ | ||||
/* anti-aliasing mode; this option must be set directly in | ||||
*/ | ||||
/* `ftraster.c' and is undefined by default) accepts a single tag | ||||
*/ | ||||
/* `pal5' to set its gray palette as a character string with | ||||
*/ | ||||
/* 5~elements. Consequently, the third and fourth argument are zero | ||||
*/ | ||||
/* normally. | ||||
*/ | ||||
/* | ||||
*/ | ||||
FT_EXPORT( FT_Error ) | FT_EXPORT( FT_Error ) | |||
FT_Set_Renderer( FT_Library library, | FT_Set_Renderer( FT_Library library, | |||
FT_Renderer renderer, | FT_Renderer renderer, | |||
FT_UInt num_params, | FT_UInt num_params, | |||
FT_Parameter* parameters ); | FT_Parameter* parameters ); | |||
/* */ | /* */ | |||
FT_END_HEADER | FT_END_HEADER | |||
End of changes. 3 change blocks. | ||||
9 lines changed or deleted | 17 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |