https://bugs.winehq.org/show_bug.cgi?id=55321
Bug ID: 55321 Summary: Gdiplus curve flattening broken Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs@winehq.org Reporter: k.kahurani@gmail.com Distribution: ---
Created attachment 74915 --> https://bugs.winehq.org/attachment.cgi?id=74915 Behaviour on Windows vs behaviour on Wine
It looks to me like GdipFlattenPath is broken because it essentially produces straight lines with sharp corners. This behaviour is also seen on Windows but only when the 'flatness' passed to the function is a huge value.
The same code on Windows produces the image on the left while on Wine it produces the image on the right. The two seem to differ a lot because one is essentially a curve while on the right is essentially a polygon.