Commit 8c538c81 authored by Mark Dufour's avatar Mark Dufour Committed by Alexandre Julliard

X11DRV_DrawArc: swap the start and end points when drawing in

clockwise direction.
parent bbdb9dbb
......@@ -343,6 +343,10 @@ X11DRV_DrawArc( DC *dc, INT left, INT top, INT right,
if ((left == right) || (top == bottom)
||(lines && ((right-left==1)||(bottom-top==1)))) return TRUE;
if( dc->w.ArcDirection == AD_CLOCKWISE )
{ INT tmp = xstart; xstart = xend; xend = tmp;
tmp = ystart; ystart = yend; yend = tmp; }
oldwidth = width = physDev->pen.width;
oldendcap = physDev->pen.endcap;
if (!width) width = 1;
......
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