Michael Kaufmann hallo@michael-kaufmann.ch writes:
SetWinMetaFileBits:
- Isotropic/Anisotropic mapping mode: Scale the picture to the whole
device surface if lpmfp == NULL (current implementation doesn't set the window and viewport extents in this case, leading to upside-down images or other strange effects). Also use the whole device surface if the x extent or the y extent is zero or negative (MSDN says something about aspect ratios, but that is not implemented in Windows)
- Other mapping modes: Ignore the specified extents (let the GDI
calculate them)
This fails make test for me:
../../../tools/runtest -q -P wine -M gdi32.dll -T ../../.. -p gdi32_test.exe.so metafile.c && touch metafile.ok metafile.c:1050: Test failed: (0,0)->(1,1), expected (0,0)->(18,67)