Documentation typo fixes

This commit is contained in:
Matthias Clasen
2020-11-25 23:14:46 -05:00
parent 8c640b5b4d
commit 337f31bb9e
3 changed files with 9 additions and 9 deletions

View File

@@ -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 zier curve
* with 4 points describing the start point, the two control points
* and the end point of the curve.
*

View File

@@ -1795,7 +1795,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
**/
@@ -1809,7 +1809,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
**/

View File

@@ -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.
*
@@ -305,7 +305,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,
@@ -361,7 +361,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.
*