gdiplus: Use SOFTWARE_GdipDrawPath with alpha hdc's.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0914f626af
commit
be952527f2
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue