[gtk/wip/otte/lottie: 14/30] Documentation typo fixes
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/lottie: 14/30] Documentation typo fixes
- Date: Wed, 2 Dec 2020 02:25:33 +0000 (UTC)
commit ae01c107cd827f82637687dfa96fa6063e554363
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 925c4a4bab..1ae59dbc3a 100644
--- a/gsk/gskenums.h
+++ b/gsk/gskenums.h
@@ -216,10 +216,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.
@@ -241,7 +241,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 d8cc2550b5..fb7ec91018 100644
--- a/gsk/gskpath.c
+++ b/gsk/gskpath.c
@@ -1866,7 +1866,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
**/
@@ -1880,7 +1880,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]