contour: Fixup for 1-point contours

If we return a path point for a 1-point contour,
make it { n, 0, 1 }.
This commit is contained in:
Matthias Clasen 2023-09-04 00:47:17 +02:00
parent ad474a60c0
commit ea7fd1ff5a

View File

@ -470,7 +470,7 @@ gsk_standard_contour_get_closest_point (const GskContour *contour,
{
*out_dist = dist;
result->idx = 0;
result->t = 0;
result->t = 1;
return TRUE;
}