Vincent Povirk : gdiplus: Use SOFTWARE_GdipDrawPath with alpha hdc's.
Alexandre Julliard
julliard at winehq.org
Fri Sep 1 12:23:21 CDT 2017
Module: wine
Branch: master
Commit: be952527f2c95c85532fd4a7e28e3ab5689235ed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=be952527f2c95c85532fd4a7e28e3ab5689235ed
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Thu Aug 31 14:14:05 2017 -0500
gdiplus: Use SOFTWARE_GdipDrawPath with alpha hdc's.
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdiplus/graphics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index e19fefc..a7da283 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -3859,7 +3859,7 @@ GpStatus WINGDIPAPI GdipDrawPath(GpGraphics *graphics, GpPen *pen, GpPath *path)
if (graphics->image && graphics->image->type == ImageTypeMetafile)
retval = METAFILE_DrawPath((GpMetafile*)graphics->image, pen, path);
- else if (!graphics->hdc || !brush_can_fill_path(pen->brush, FALSE))
+ else if (!graphics->hdc || graphics->alpha_hdc || !brush_can_fill_path(pen->brush, FALSE))
retval = SOFTWARE_GdipDrawPath(graphics, pen, path);
else
retval = GDI32_GdipDrawPath(graphics, pen, path);
More information about the wine-cvs
mailing list