mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 12:24:07 +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) );
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue