diff --git a/Gsk-4.0.gir b/Gsk-4.0.gir index 75298597e..574329b06 100644 --- a/Gsk-4.0.gir +++ b/Gsk-4.0.gir @@ -2401,6 +2401,10 @@ If there is no point closer than the given threshold, return location for the closest point + + return location for the distance + + @@ -2720,7 +2724,9 @@ from a Cairo context. Adds a circle with the @center and @radius. -The path is going around the circle in clockwise direction. +The path is going around the circle in clockwise direction. + +If @radius is zero, the contour will be a closed point. @@ -2776,9 +2782,6 @@ The path is going around the circle in clockwise direction. The path is going around the rectangle in clockwise direction. -If the width or height of the rectangle is negative, the start -point will be on the right or bottom, respectively. - If the the width or height are 0, the path will be a closed horizontal or vertical line. If both are 0, it'll be a closed dot. @@ -3631,7 +3634,7 @@ Closed contours end with a @GSK_PATH_CLOSE operation. - + `GskPathMeasure` is an object that allows measurements on `GskPath`s such as determining the length of the path. @@ -3806,21 +3809,30 @@ To obtain a `GskPathPoint`, use [method@Gsk.Path.get_closest_point], [method@Gsk.Path.get_start_point], [method@Gsk.Path.get_end_point] or [method@Gsk.PathMeasure.get_point]. -Note that `GskPathPoint` structs are meant to be stack-allocated, and -don't a reference to the path object they are obtained from. It is the -callers responsibility to keep a reference to the path as long as the -`GskPathPoint` is used. - - - +Note that `GskPathPoint` structs are meant to be stack-allocated, +and don't hold a reference to the path object they are obtained from. +It is the callers responsibility to keep a reference to the path +as long as the `GskPathPoint` is used. + + + + + + + + + - - - + + + + + + Returns whether @point1 is before or after @point2. @@ -3894,6 +3906,8 @@ The curvature is the inverse of the radius of the osculating circle. Lines have a curvature of zero (indicating an osculating circle of infinite radius. In this case, the @center is not modified. +Circles with a radius of zero have `INFINITY` as curvature + Note that certain points on a path may not have a single curvature, such as sharp turns. At such points, there are two curvatures -- the (limit of) the curvature of the path going into the point,