mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue