mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:05:40 +00:00
wineps: Convert path points to device coords since GetPath returns logical coords.
This commit is contained in:
parent
556267bde4
commit
061b8c4094
|
@ -521,6 +521,7 @@ static BOOL paint_path( PHYSDEV dev, BOOL stroke, BOOL fill )
|
||||||
types = HeapAlloc( GetProcessHeap(), 0, size * sizeof(*types) );
|
types = HeapAlloc( GetProcessHeap(), 0, size * sizeof(*types) );
|
||||||
if (!points || !types) goto done;
|
if (!points || !types) goto done;
|
||||||
if (GetPath( dev->hdc, points, types, size ) == -1) goto done;
|
if (GetPath( dev->hdc, points, types, size ) == -1) goto done;
|
||||||
|
LPtoDP( dev->hdc, points, size );
|
||||||
|
|
||||||
if (stroke) PSDRV_SetPen(dev);
|
if (stroke) PSDRV_SetPen(dev);
|
||||||
PSDRV_SetClip(dev);
|
PSDRV_SetClip(dev);
|
||||||
|
|
Loading…
Reference in a new issue