26 Oct
2023
26 Oct
'23
8:38 p.m.
Jeffrey Smith (@whydoubt) commented about dlls/gdiplus/graphicspath.c:
+ if (stat == Ok) + GdipTransformMatrixPoints(transform, &pt, 1); }
if (stat == Ok) - stat = GdipWidenPath(wide_path, pen, transform, 1.0); - - if (pen->unit == UnitPixel && graphics != NULL) - { - if (stat == Ok) - stat = GdipInvertMatrix(transform); - - if (stat == Ok) - stat = GdipTransformPath(wide_path, transform); - } + stat = GdipWidenPath(wide_path, pen, transform, 0.25f); It's not obvious to me why this is 0.25f. Could you explain?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4165#note_49887