From 061b8c409497b3ed586e756a4d67ebc7926131f4 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 22 Feb 2012 16:03:59 +0100 Subject: [PATCH] wineps: Convert path points to device coords since GetPath returns logical coords. --- dlls/wineps.drv/graphics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c index 5459ce4f847..711ab432ee6 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);