gdi32: SetWinMetaFileBits: Use the whole device surface if the METAFILEPICT parameter...
authorMichael Kaufmann <hallo@michael-kaufmann.ch>
Tue, 20 Jun 2006 14:02:37 +0000 (16:02 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Jun 2006 10:15:33 +0000 (12:15 +0200)
commitd23b83a026dfe792e9deefdc68fe976f16abcf71
treef640baac516957dc6918f4de5aa3a6084bc29e74
parentdde6d8b1857a3fc34b6cec5b70f95dfb6424c11d
gdi32: SetWinMetaFileBits: Use the whole device surface if the METAFILEPICT parameter is NULL.

Also use the whole device surface if one of the extents is zero or
negative and the mapping mode is MM_ANISOTROPIC or MM_ISOTROPIC.
New tests.
dlls/gdi/enhmetafile.c
dlls/gdi/tests/metafile.c