mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
Issue #4328 - Distorted path of an open/imported circle...
...from an svg file gimp_bezier_stroke_new_ellipse(): need to interpolate the path's head and tail, not its tail and tail. Spotted by Massimo.
This commit is contained in:
parent
84ff130e18
commit
27e78849a2
1 changed files with 1 additions and 1 deletions
|
@ -2277,7 +2277,7 @@ gimp_bezier_stroke_new_ellipse (const GimpCoords *center,
|
||||||
gimp_coords_mix (1.0, &p3, -circlemagic, &dx, &p2);
|
gimp_coords_mix (1.0, &p3, -circlemagic, &dx, &p2);
|
||||||
gimp_bezier_stroke_cubicto (stroke, &p1, &p2, &p3);
|
gimp_bezier_stroke_cubicto (stroke, &p1, &p2, &p3);
|
||||||
|
|
||||||
handle = g_queue_peek_tail (stroke->anchors);
|
handle = g_queue_peek_head (stroke->anchors);
|
||||||
gimp_coords_mix (1.0, &p3, circlemagic, &dx, &handle->position);
|
gimp_coords_mix (1.0, &p3, circlemagic, &dx, &handle->position);
|
||||||
|
|
||||||
gimp_stroke_close (stroke);
|
gimp_stroke_close (stroke);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue