On Tue Oct 24 22:07:30 2023 +0000, Bartosz Kosiorek wrote:
I have splitted the work to tests and implementation. Now it is clearly visible what kind of issues were solved with the fix. @whydoubt Could you please try to reproduce Mono issue under Wine tests? Unfortunately I have problems with it. It is a starting point for the final implementation.
That is trivial to reproduce. I am away from my development environment ATM, but I believe it would be this:
``` c GdipAddPathRectangle(path, 10.0, 0.5, 4.0, 1.0);
GdipScaleWorldTransform(graphics, 2.0, 2.0, MatrixOrderPrepend); GdipTranslateWorldTransform(graphics, 50.0, -50.0, MatrixOrderPrepend); GdipSetPageUnit(graphics, UnitMillimeter); GdipSetPageScale(graphics, 2.0);
GdipIsVisiblePathPoint(path, 10.0, 1.0, graphics, &result); ```
I have created some better, more general tests that I may share on the bug item when I am able.