mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibGfx: Transform the x axis rotation for elliptical arcs
Without this, copy_transformed() will create paths with bogus elliptical arcs. This was very noticeable with transformed ellipses in SVG.
This commit is contained in:
parent
a77accf3f4
commit
cc86c07f58
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ Path Path::copy_transformed(Gfx::AffineTransform const& transform) const
|
|||
transform.map(segment->point()),
|
||||
transform.map(arc_segment.center()),
|
||||
transform.map(arc_segment.radii()),
|
||||
arc_segment.x_axis_rotation(),
|
||||
arc_segment.x_axis_rotation() + transform.rotation(),
|
||||
arc_segment.theta_1(),
|
||||
arc_segment.theta_delta(),
|
||||
arc_segment.large_arc(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue