Documentation typo fixes

This commit is contained in:
Matthias Clasen
2020-11-25 23:14:46 -05:00
committed by Benjamin Otte
parent 2f930f93cc
commit 4487cafd40
3 changed files with 9 additions and 9 deletions

View File

@@ -224,10 +224,10 @@ typedef enum {
/** /**
* GskLineJoin: * 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 * @GSK_LINE_JOIN_ROUND: Use a round join, the center of the circle is
* the joing point * the joint point
* @GSK_LINE_JOIN_BEVEL: use a cut-off join, the join is cut off at half * @GSK_LINE_JOIN_BEVEL: Use a cut-off join, the join is cut off at half
* the line width from the joint point * the line width from the joint point
* *
* Specifies how to render the junction of two lines when stroking. * Specifies how to render the junction of two lines when stroking.
@@ -249,7 +249,7 @@ typedef enum {
* @GSK_PATH_CLOSE: A close operation ending the current contour with * @GSK_PATH_CLOSE: A close operation ending the current contour with
* a line back to the starting point. Two points describe the start * a line back to the starting point. Two points describe the start
* and end of the line. * 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 * with 4 points describing the start point, the two control points
* and the end point of the curve. * and the end point of the curve.
* *

View File

@@ -1870,7 +1870,7 @@ gsk_path_to_cairo (GskPath *self,
* gsk_path_get_n_contours: * gsk_path_get_n_contours:
* @path: a #GskPath * @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 * Returns: the number of contours in @path
**/ **/
@@ -1884,7 +1884,7 @@ gsk_path_get_n_contours (GskPath *path)
* gsk_path_is_empty: * gsk_path_is_empty:
* @self: a #GskPath * @self: 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 * Returns: %TRUE if the path is empty
**/ **/

View File

@@ -201,7 +201,7 @@ gsk_path_measure_clamp_distance (GskPathMeasure *self,
* @tangent: (out caller-allocates) (optional): The tangent * @tangent: (out caller-allocates) (optional): The tangent
* to the position at @distance * 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 * units into the path. The value will be clamped to the length
* of the path. * 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 * Gets the point on the path that is closest to @point. If no point on
* path is closer to @point than @threshold, return %FALSE. * 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 gboolean
gsk_path_measure_get_closest_point_full (GskPathMeasure *self, 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. * Adds to @builder the segment of @path inbetween @start and @end.
* *
* The distances are given relative to the length of @self's path, * 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 * gsk_path_measure_get_length() for the end of the path. The values
* will be clamped to that range. * will be clamped to that range.
* *