Module: wine Branch: master Commit: 061b8c409497b3ed586e756a4d67ebc7926131f4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=061b8c409497b3ed586e756a4d...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Feb 22 16:03:59 2012 +0100
wineps: Convert path points to device coords since GetPath returns logical coords.
---
dlls/wineps.drv/graphics.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c index 5459ce4..711ab43 100644 --- a/dlls/wineps.drv/graphics.c +++ b/dlls/wineps.drv/graphics.c @@ -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);