Commit dbf901a4 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

wineps: Support arc direction in PSDRV_DrawArc.

parent 8426109a
......@@ -226,7 +226,10 @@ static BOOL PSDRV_DrawArc( PHYSDEV dev, INT left, INT top,
else
PSDRV_WriteNewPath( dev );
if(GetArcDirection(dev->hdc) == AD_COUNTERCLOCKWISE)
PSDRV_WriteArc(dev, x, y, w, h, start_angle, end_angle);
else
PSDRV_WriteArc(dev, x, y, w, h, end_angle, start_angle);
if(lines == 1 || lines == 2) { /* chord or pie */
PSDRV_WriteClosePath(dev);
PSDRV_Brush(dev,0);
......
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