Lines Matching refs:hrgn2
13 HRGN hrgn, hrgn2; in Test_ExcludeClipRect() local
19 hrgn2 = CreateRectRgn(0, 0, 0, 0); in Test_ExcludeClipRect()
35 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
36 ok_int(EqualRgn(hrgn, hrgn2), TRUE); // but in fact it's the region we set in Test_ExcludeClipRect()
40 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
41 ok_int(EqualRgn(hrgn, hrgn2), TRUE); in Test_ExcludeClipRect()
45 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
46 ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), SIMPLEREGION); in Test_ExcludeClipRect()
50 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
51 ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), COMPLEXREGION); in Test_ExcludeClipRect()
55 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
56 ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), NULLREGION); in Test_ExcludeClipRect()
60 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 0); // return value says region is NULL in Test_ExcludeClipRect()
62 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); // but now we have a region in Test_ExcludeClipRect()
63 … ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), NULLREGION); // but it's a NULLREGION (aka empty)? in Test_ExcludeClipRect()
68 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
70 ok_int(CombineRgn(hrgn2, hrgn2, hrgn, RGN_XOR), NULLREGION); in Test_ExcludeClipRect()
75 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
77 ok_int(EqualRgn(hrgn, hrgn2), TRUE); in Test_ExcludeClipRect()
83 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect()
85 ok_int(CombineRgn(hrgn, hrgn2, NULL, RGN_COPY), NULLREGION); in Test_ExcludeClipRect()