ftoutln.h | ftoutln.h | |||
---|---|---|---|---|
/************************************************************************** */ | /************************************************************************** */ | |||
/* */ | /* */ | |||
/* ftoutln.h */ | /* ftoutln.h */ | |||
/* */ | /* */ | |||
/* Support for the FT_Outline type used to store glyph shapes of */ | /* Support for the FT_Outline type used to store glyph shapes of */ | |||
/* most scalable font formats (specification). */ | /* most scalable font formats (specification). */ | |||
/* */ | /* */ | |||
/* Copyright 1996-2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010 by */ | /* Copyright 1996-2003, 2005-2011 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 219 | skipping to change at line 219 | |||
/* box can take much more time as it needs to walk over all segments */ | /* box can take much more time as it needs to walk over all segments */ | |||
/* and arcs in the outline. To get the latter, you can use the */ | /* and arcs in the outline. To get the latter, you can use the */ | |||
/* `ftbbox' component which is dedicated to this single task. */ | /* `ftbbox' component which is dedicated to this single task. */ | |||
/* */ | /* */ | |||
/* <Input> */ | /* <Input> */ | |||
/* outline :: A pointer to the source outline descriptor. */ | /* outline :: A pointer to the source outline descriptor. */ | |||
/* */ | /* */ | |||
/* <Output> */ | /* <Output> */ | |||
/* acbox :: The outline's control box. */ | /* acbox :: The outline's control box. */ | |||
/* */ | /* */ | |||
/* <Note> | ||||
*/ | ||||
/* See @FT_Glyph_Get_CBox for a discussion of tricky fonts. | ||||
*/ | ||||
/* | ||||
*/ | ||||
FT_EXPORT( void ) | FT_EXPORT( void ) | |||
FT_Outline_Get_CBox( const FT_Outline* outline, | FT_Outline_Get_CBox( const FT_Outline* outline, | |||
FT_BBox *acbox ); | FT_BBox *acbox ); | |||
/************************************************************************ */ | /************************************************************************ */ | |||
/* */ | /* */ | |||
/* <Function> */ | /* <Function> */ | |||
/* FT_Outline_Translate */ | /* FT_Outline_Translate */ | |||
/* */ | /* */ | |||
/* <Description> */ | /* <Description> */ | |||
skipping to change at line 320 | skipping to change at line 323 | |||
/* <Return> */ | /* <Return> */ | |||
/* FreeType error code. 0~means success. */ | /* FreeType error code. 0~means success. */ | |||
/* */ | /* */ | |||
/* <Note> */ | /* <Note> */ | |||
/* The used algorithm to increase or decrease the thickness of the */ | /* The used algorithm to increase or decrease the thickness of the */ | |||
/* glyph doesn't change the number of points; this means that certain */ | /* glyph doesn't change the number of points; this means that certain */ | |||
/* situations like acute angles or intersections are sometimes */ | /* situations like acute angles or intersections are sometimes */ | |||
/* handled incorrectly. */ | /* handled incorrectly. */ | |||
/* */ | /* */ | |||
/* If you need `better' metrics values you should call */ | /* If you need `better' metrics values you should call */ | |||
/* @FT_Outline_Get_CBox ot @FT_Outline_Get_BBox. */ | /* @FT_Outline_Get_CBox or @FT_Outline_Get_BBox. */ | |||
/* */ | /* */ | |||
/* Example call: */ | /* Example call: */ | |||
/* */ | /* */ | |||
/* { */ | /* { */ | |||
/* FT_Load_Glyph( face, index, FT_LOAD_DEFAULT ); */ | /* FT_Load_Glyph( face, index, FT_LOAD_DEFAULT ); */ | |||
/* if ( face->slot->format == FT_GLYPH_FORMAT_OUTLINE ) */ | /* if ( face->slot->format == FT_GLYPH_FORMAT_OUTLINE ) */ | |||
/* FT_Outline_Embolden( &face->slot->outline, strength ); */ | /* FT_Outline_Embolden( &face->slot->outline, strength ); */ | |||
/* } */ | /* } */ | |||
/* */ | /* */ | |||
FT_EXPORT( FT_Error ) | FT_EXPORT( FT_Error ) | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 8 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/ |