Fix gsk_spline_decompose_arc
For short segments (angle < tolerance), we were not emitting any curve at all when decomposing arc.
This commit is contained in:
@@ -192,7 +192,7 @@ gsk_spline_decompose_arc (const graphene_point_t *center,
|
||||
}
|
||||
else if (ABS (step) < tolerance)
|
||||
{
|
||||
return TRUE;
|
||||
return gsk_spline_decompose_arc_segment (center, radius, start_angle, end_angle, curve_func, user_data);
|
||||
}
|
||||
|
||||
n_segments = arc_segments_needed (ABS (step), radius, tolerance);
|
||||
|
||||
Reference in New Issue
Block a user