Commit be0e63aa authored by Liam Quin (ankh)'s avatar Liam Quin (ankh) Committed by Jehan

Issue #4328: Distorted path of an open/imported circle from an svg file.

Undoing the apparent mistake (revert 27e78849) and changing the 2nd
occurrence instead.
parent 15475632
Pipeline #201182 passed with stages
in 25 minutes and 34 seconds
......@@ -2323,7 +2323,7 @@ gimp_bezier_stroke_new_ellipse (const GimpCoords *center,
gimp_coords_mix (1.0, center, 1.0, &dx, &p1);
stroke = gimp_bezier_stroke_new_moveto (&p1);
handle = g_queue_peek_tail (stroke->anchors);
handle = g_queue_peek_head (stroke->anchors);
gimp_coords_mix (1.0, &p1, -circlemagic, &dy, &handle->position);
gimp_coords_mix (1.0, &p1, circlemagic, &dy, &p1);
......@@ -2341,7 +2341,7 @@ gimp_bezier_stroke_new_ellipse (const GimpCoords *center,
gimp_coords_mix (1.0, &p3, -circlemagic, &dx, &p2);
gimp_bezier_stroke_cubicto (stroke, &p1, &p2, &p3);
handle = g_queue_peek_head (stroke->anchors);
handle = g_queue_peek_tail (stroke->anchors);
gimp_coords_mix (1.0, &p3, circlemagic, &dx, &handle->position);
gimp_stroke_close (stroke);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment