Sweden-Number/dlls/oleaut32/tests
Dmitry Timoshkov 4b525aa0a4 oleaut32/tests: Fix the IPicture::Render() usage.
When one specifies the target rectangle (0, 0, width, -height)
IPicture::Render() places the origin at 0,0 and flips the image
vertically. This means that in order to paint an icon on the DC
it's necessary to specify the rectangle (0, height, width, -height),
i.e. place the origin at 0,height. I've written a test app that
verifies this behaviour, ufortunately I don't see a way to add
a Wine test case for this.

The test currently works by chance under Windows because in case
of (0, 0, width, -height) IPicture::Render() draws black rectangle
instead of an icon at (0, 0, width, height). If Wine intends to
replicate this behaviour it should be fixed by a separate patch.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 20:12:04 +02:00
..
Makefile.in
dispatch.c
olefont.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
olepicture.c oleaut32/tests: Fix the IPicture::Render() usage. 2018-08-24 20:12:04 +02:00
safearray.c oleaut32/tests: Use a better type to avoid a cast. 2018-06-19 20:49:24 +02:00
test_reg.idl oleaut32: Fix automatic value getting in ITypeInfo::Invoke. 2017-11-07 21:24:45 +01:00
test_tlb.idl
tmarshal.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
tmarshal.idl widl: Don't remove the FDUAL flag from non-dispatchable interfaces. 2018-05-29 17:13:05 +02:00
tmarshal.rc
tmarshal_dispids.h
typelib.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
usrmarshal.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
varformat.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
vartest.c oleaut32/tests: Use the available ARRAY_SIZE() macro. 2018-06-19 20:49:04 +02:00
vartype.c oleaut32: Extend value range before getting absolute value in VarBstrFromI4. 2018-08-15 10:49:06 +02:00