Minor documentation corrections.

This commit is contained in:
Wojciech Mamrak 2015-09-09 07:52:17 +02:00 committed by Werner Lemberg
parent b002f6882d
commit 5578199a68
2 changed files with 12 additions and 9 deletions

View File

@ -3032,11 +3032,13 @@ FT_BEGIN_HEADER
/* @FT_Get_Kerning. */ /* @FT_Get_Kerning. */
/* */ /* */
/* <Values> */ /* <Values> */
/* FT_KERNING_DEFAULT :: Return scaled and grid-fitted kerning */ /* FT_KERNING_DEFAULT :: Return grid-fitted kerning distances in */
/* distances (value is~0). */ /* pixels (value is~0). Whether they are */
/* scaled depends on @FT_LOAD_NO_SCALE. */
/* */ /* */
/* FT_KERNING_UNFITTED :: Return scaled but un-grid-fitted kerning */ /* FT_KERNING_UNFITTED :: Return un-grid-fitted kerning distances in */
/* distances. */ /* 26.6 fractional pixels. Whether they are */
/* scaled depends on @FT_LOAD_NO_SCALE. */
/* */ /* */
/* FT_KERNING_UNSCALED :: Return the kerning vector in original font */ /* FT_KERNING_UNSCALED :: Return the kerning vector in original font */
/* units. */ /* units. */
@ -3082,9 +3084,10 @@ FT_BEGIN_HEADER
/* kerning vector. */ /* kerning vector. */
/* */ /* */
/* <Output> */ /* <Output> */
/* akerning :: The kerning vector. This is either in font units */ /* akerning :: The kerning vector. This is either in font units, */
/* or in pixels (26.6 format) for scalable formats, */ /* fractional pixels (26.6 format), or pixels for */
/* and in pixels for fixed-sizes formats. */ /* scalable formats, and in pixels for fixed-sizes */
/* formats. */
/* */ /* */
/* <Return> */ /* <Return> */
/* FreeType error code. 0~means success. */ /* FreeType error code. 0~means success. */

View File

@ -225,8 +225,8 @@ FT_BEGIN_HEADER
* *
* @description: * @description:
* Return the unit vector corresponding to a given angle. After the * Return the unit vector corresponding to a given angle. After the
* call, the value of `vec.x' will be `sin(angle)', and the value of * call, the value of `vec.x' will be `cos(angle)', and the value of
* `vec.y' will be `cos(angle)'. * `vec.y' will be `sin(angle)'.
* *
* This function is useful to retrieve both the sinus and cosinus of a * This function is useful to retrieve both the sinus and cosinus of a
* given angle quickly. * given angle quickly.