[gtk/wip/otte/lottie: 2452/2503] Documentation typo fixes




commit 53e66377cdfcd78f36f04bbb69514215e7818795
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Nov 25 23:14:46 2020 -0500

    Documentation typo fixes

 gsk/gskenums.h       | 8 ++++----
 gsk/gskpath.c        | 4 ++--
 gsk/gskpathmeasure.c | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gsk/gskenums.h b/gsk/gskenums.h
index 2ade2a945b..e7b190978f 100644
--- a/gsk/gskenums.h
+++ b/gsk/gskenums.h
@@ -220,10 +220,10 @@ typedef enum {
 
 /**
  * GskLineJoin:
- * @GSK_LINE_JOIN_MITER: Use a shart angled corner
+ * @GSK_LINE_JOIN_MITER: Use a sharp, angled corner
  * @GSK_LINE_JOIN_ROUND: Use a round join, the center of the circle is
- *     the joing point
- * @GSK_LINE_JOIN_BEVEL: use a cut-off join, the join is cut off at half
+ *     the joint point
+ * @GSK_LINE_JOIN_BEVEL: Use a cut-off join, the join is cut off at half
  *     the line width from the joint point
  *
  * Specifies how to render the junction of two lines when stroking.
@@ -245,7 +245,7 @@ typedef enum {
  * @GSK_PATH_CLOSE: A close operation ending the current contour with
  *     a line back to the starting point. Two points describe the start
  *     and end of the line.
- * @GSK_PATH_CURVE: A curve-to operation describing a cubic bezier curve
+ * @GSK_PATH_CURVE: A curve-to operation describing a cubic Bézier curve
  *     with 4 points describing the start point, the two control points
  *     and the end point of the curve.
  *
diff --git a/gsk/gskpath.c b/gsk/gskpath.c
index 331a92346f..d2e94dc7a5 100644
--- a/gsk/gskpath.c
+++ b/gsk/gskpath.c
@@ -1870,7 +1870,7 @@ gsk_path_to_cairo (GskPath *self,
  * gsk_path_get_n_contours:
  * @path: a #GskPath
  *
- * Gets the nnumber of contours @path is composed out of.
+ * Gets the number of contours @path is composed out of.
  *
  * Returns: the number of contours in @path
  **/
@@ -1884,7 +1884,7 @@ gsk_path_get_n_contours (GskPath *path)
  * gsk_path_is_empty:
  * @path: a #GskPath
  *
- * Checks if the path is empty, ie contains no lines or curves.
+ * Checks if the path is empty, i.e. contains no lines or curves.
  *
  * Returns: %TRUE if the path is empty
  **/
diff --git a/gsk/gskpathmeasure.c b/gsk/gskpathmeasure.c
index 38cc793faf..e312eb4143 100644
--- a/gsk/gskpathmeasure.c
+++ b/gsk/gskpathmeasure.c
@@ -201,7 +201,7 @@ gsk_path_measure_clamp_distance (GskPathMeasure *self,
  * @tangent: (out) (optional) (caller-allocates): The tangent
  *    to the position at @distance
  *
- * Calculates the coordinates and tangent of the point @distance 
+ * Calculates the coordinates and tangent of the point @distance
  * units into the path. The value will be clamped to the length
  * of the path.
  *
@@ -322,7 +322,7 @@ gsk_path_measure_get_closest_point (GskPathMeasure         *self,
  * Gets the point on the path that is closest to @point. If no point on
  * path is closer to @point than @threshold, return %FALSE.
  *
- * Returns: %TRUE if a pointwas found, %FALSE otherwise.
+ * Returns: %TRUE if a point was found, %FALSE otherwise.
  **/
 gboolean
 gsk_path_measure_get_closest_point_full (GskPathMeasure         *self,
@@ -384,7 +384,7 @@ gsk_path_measure_get_closest_point_full (GskPathMeasure         *self,
  * Adds to @builder the segment of @path inbetween @start and @end.
  *
  * The distances are given relative to the length of @self's path,
- * from 0 for the begginning of the path to 
+ * from 0 for the beginning of the path to
  * gsk_path_measure_get_length() for the end of the path. The values
  * will be clamped to that range.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]