Bartosz Kosiorek (@gang65) commented about dlls/gdiplus/tests/graphicspath.c:
+ for (j = 0; j < 5; j++) + { + winetest_push_context("%f", scales[j]); + GdipSetPageScale(graphics, scales[j]); + result = bisect(6.0, 14.0, 5.0, graphics, path); + todo_wine_if(expected[i][j] != 9.5) + ok(fabs(expected[i][j] - result) < 0.000002, "Expected %.8e, got %.8e\n", expected[i][j], result); + winetest_pop_context(); + } + + winetest_pop_context(); + } + + /* Mimic the IsOutlineVisible_Line_WithGraphics test from Mono */ + GdipResetPath(path); + GdipAddPathRectangle(path, 10.0, 0.5, 4.0, 1.0); Great work! Thanks.
This is not 100% accurate with test from: https://github.com/madewokherd/mono/blob/develop/mcs/class/System.Drawing/Te... as in Mono test it is drawing single line (not rectangle). I suspect that it could be connected with Cap Endings. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4183#note_49838