Commit 061b8c40 authored by Alexandre Julliard's avatar Alexandre Julliard

wineps: Convert path points to device coords since GetPath returns logical coords.

parent 556267bd
......@@ -521,6 +521,7 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill )
types = HeapAlloc( GetProcessHeap(), 0, size * sizeof(*types) );
if (!points || !types) goto done;
if (GetPath( dev->hdc, points, types, size ) == -1) goto done;
LPtoDP( dev->hdc, points, size );
if (stroke) PSDRV_SetPen(dev);
PSDRV_SetClip(dev);
......
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