From: Elizabeth Figura zfigura@codeweavers.com
This reverts commit cf3660069fcaa79306686106f4c6e63c3ce9eaa3. --- dlls/win32u/dibdrv/graphics.c | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/dlls/win32u/dibdrv/graphics.c b/dlls/win32u/dibdrv/graphics.c index 17751e44644..56c6ebc44f8 100644 --- a/dlls/win32u/dibdrv/graphics.c +++ b/dlls/win32u/dibdrv/graphics.c @@ -316,12 +316,6 @@ static int get_arc_points( DC *dc, int arc_dir, const RECT *rect, POINT start, P
count = generate_ellipse_top_half( dc, width, height, points );
- /* The ellipse is always generated counterclockwise from the origin. - * This means our points will essentially be backwards if the world - * transform includes a flip. Swap the arc direction to correct for this. */ - if (dc->xformWorld2Vport.eM11 * dc->xformWorld2Vport.eM22 < dc->xformWorld2Vport.eM12 * dc->xformWorld2Vport.eM21) - arc_dir = (arc_dir == AD_CLOCKWISE ? AD_COUNTERCLOCKWISE : AD_CLOCKWISE); - /* Transform the start and end, but do not translate them, so that they * remain relative to the ellipse center. */ lp_to_dp_no_translate( dc, &start );