https://bugs.winehq.org/show_bug.cgi?id=43736
Bug ID: 43736 Summary: PathGradientBrush results in a white shape Product: Wine Version: 2.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: norike@gmail.com Distribution: ---
Created attachment 59217 --> https://bugs.winehq.org/attachment.cgi?id=59217 test project with screenshots
We develop a charting library and found some gradients are drawn as solid white shapes in Wine for Ubuntu. Reducing the issue to the minimum we found the problem seems to be when drawing a rectangle with a PathGradientBrush.
See the screenshots in the attachment.
- Windows.png is the result of running the .exe in a Windows 10. - Ubuntu.png is the result of running the .exe in Ubuntu 16.04 using Wine. We got the same result in Wine 1.6 (?), 2.0.2 and 2.17.
The attachment also contains the .exe and the project sources (made with Visual Studio 2017).