Commit 7f2d52a5 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.

(cherry picked from commit be0e63aa)
parent 42511194
Pipeline #201183 passed with stages
in 19 minutes and 2 seconds
......@@ -2259,7 +2259,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);
......@@ -2277,7 +2277,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