Vincent Povirk : gdiplus: Account for gdi32 transform in SOFTWARE_GdipDrawPath.
Alexandre Julliard
julliard at winehq.org
Tue Sep 5 15:18:51 CDT 2017
Module: wine
Branch: master
Commit: ac51280b1f9ab818a136f7b6987a590ea78ea66f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac51280b1f9ab818a136f7b6987a590ea78ea66f
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Tue Sep 5 13:43:31 2017 -0500
gdiplus: Account for gdi32 transform in SOFTWARE_GdipDrawPath.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdiplus/graphics.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 4413e75..da70899 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3799,7 +3799,7 @@ static GpStatus SOFTWARE_GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *
points[1].X = pen->width;
points[2].Y = pen->width;
- stat = GdipTransformPoints(graphics, CoordinateSpaceDevice,
+ stat = gdip_transform_points(graphics, WineCoordinateSpaceGdiDevice,
CoordinateSpaceWorld, points, 3);
if (stat != Ok)
@@ -3823,7 +3823,7 @@ static GpStatus SOFTWARE_GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *
stat = GdipCreateMatrix(&transform);
if (stat == Ok)
- stat = get_graphics_transform(graphics, CoordinateSpaceDevice,
+ stat = get_graphics_transform(graphics, WineCoordinateSpaceGdiDevice,
CoordinateSpaceWorld, transform);
}
else
@@ -3831,7 +3831,7 @@ static GpStatus SOFTWARE_GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *
/* Set flatness based on the final coordinate space */
GpMatrix t;
- stat = get_graphics_transform(graphics, CoordinateSpaceDevice,
+ stat = get_graphics_transform(graphics, WineCoordinateSpaceGdiDevice,
CoordinateSpaceWorld, &t);
if (stat != Ok)
More information about the wine-cvs
mailing list