mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:36:04 +00:00
[GDI32_APITEST]
Add another test case for ExcludeClipRect svn path=/trunk/; revision=64332
This commit is contained in:
parent
0f62b7bb9d
commit
b9421c0166
1 changed files with 6 additions and 1 deletions
|
@ -51,7 +51,12 @@ void Test_ExcludeClipRect()
|
||||||
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
|
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
|
||||||
ok_int(CombineRgn(hrgn2, hrgn2, hrgn, RGN_XOR), NULLREGION);
|
ok_int(CombineRgn(hrgn2, hrgn2, hrgn, RGN_XOR), NULLREGION);
|
||||||
|
|
||||||
/* Now exclude something for real */
|
/* Exclude something on one side of the clip rect */
|
||||||
|
ok_int(ExcludeClipRect(hdc, 0, 0, 13, 50), COMPLEXREGION);
|
||||||
|
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
|
||||||
|
ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), SIMPLEREGION);
|
||||||
|
|
||||||
|
/* Exclude something on the edge of the clip rect */
|
||||||
ok_int(ExcludeClipRect(hdc, 0, 0, 15, 15), COMPLEXREGION);
|
ok_int(ExcludeClipRect(hdc, 0, 0, 15, 15), COMPLEXREGION);
|
||||||
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
|
ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1);
|
||||||
ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), COMPLEXREGION);
|
ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), COMPLEXREGION);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue