[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 5578199 1/3: Minor documentation corrections.
From: |
Werner LEMBERG |
Subject: |
[freetype2] master 5578199 1/3: Minor documentation corrections. |
Date: |
Wed, 09 Sep 2015 06:04:56 +0000 |
branch: master
commit 5578199a6808aaa5cd9f2a7792f99fa9767422dc
Author: Wojciech Mamrak <address@hidden>
Commit: Werner Lemberg <address@hidden>
Minor documentation corrections.
---
include/freetype/freetype.h | 17 ++++++++++-------
include/freetype/fttrigon.h | 4 ++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/include/freetype/freetype.h b/include/freetype/freetype.h
index 61b6a45..fb1254b 100644
--- a/include/freetype/freetype.h
+++ b/include/freetype/freetype.h
@@ -3032,11 +3032,13 @@ FT_BEGIN_HEADER
/* @FT_Get_Kerning. */
/* */
/* <Values> */
- /* FT_KERNING_DEFAULT :: Return scaled and grid-fitted kerning */
- /* distances (value is~0). */
+ /* FT_KERNING_DEFAULT :: Return grid-fitted kerning distances in */
+ /* pixels (value is~0). Whether they are */
+ /* scaled depends on @FT_LOAD_NO_SCALE. */
/* */
- /* FT_KERNING_UNFITTED :: Return scaled but un-grid-fitted kerning */
- /* distances. */
+ /* FT_KERNING_UNFITTED :: Return un-grid-fitted kerning distances in */
+ /* 26.6 fractional pixels. Whether they are */
+ /* scaled depends on @FT_LOAD_NO_SCALE. */
/* */
/* FT_KERNING_UNSCALED :: Return the kerning vector in original font */
/* units. */
@@ -3082,9 +3084,10 @@ FT_BEGIN_HEADER
/* kerning vector. */
/* */
/* <Output> */
- /* akerning :: The kerning vector. This is either in font units */
- /* or in pixels (26.6 format) for scalable formats, */
- /* and in pixels for fixed-sizes formats. */
+ /* akerning :: The kerning vector. This is either in font units, */
+ /* fractional pixels (26.6 format), or pixels for */
+ /* scalable formats, and in pixels for fixed-sizes */
+ /* formats. */
/* */
/* <Return> */
/* FreeType error code. 0~means success. */
diff --git a/include/freetype/fttrigon.h b/include/freetype/fttrigon.h
index 3d821ba..485ec51 100644
--- a/include/freetype/fttrigon.h
+++ b/include/freetype/fttrigon.h
@@ -225,8 +225,8 @@ FT_BEGIN_HEADER
*
* @description:
* 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
- * `vec.y' will be `cos(angle)'.
+ * call, the value of `vec.x' will be `cos(angle)', and the value of
+ * `vec.y' will be `sin(angle)'.
*
* This function is useful to retrieve both the sinus and cosinus of a
* given angle quickly.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 5578199 1/3: Minor documentation corrections.,
Werner LEMBERG <=