mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
wineps: Convert path points to device coords since GetPath returns logical coords.
This commit is contained in:
parent
556267bde4
commit
061b8c4094
1 changed files with 1 additions and 0 deletions
|
@ -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