X11DRV_DrawArc: swap the start and end points when drawing in
clockwise direction.
This commit is contained in:
parent
bbdb9dbba6
commit
8c538c8190
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue