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

oldstable
Alexandre Julliard 2012-02-22 16:03:59 +01:00
parent 556267bde4
commit 061b8c4094
1 changed files with 1 additions and 0 deletions

View File

@ -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);