/reactos/modules/rostests/apitests/gdi32/ |
H A D | CombineRgn.c | 144 DeleteObject(hrgn2); in Test_RectRegions() 152 HRGN hrgn1, hrgn2, hrgn3; in Test_CombineRgn_Params() local 168 HRGN hrgn1, hrgn2, hrgn3; in Test_CombineRgn_COPY() local 205 HRGN hrgn1, hrgn2, hrgn3; in Test_CombineRgn_AND() local 222 SetRectRgn(hrgn2, 5, 5, 10, 10); in Test_CombineRgn_AND() 225 SetRectRgn(hrgn2, 0, 0, 5, 5); in Test_CombineRgn_AND() 228 SetRectRgn(hrgn2, 0, 0, 0, 0); in Test_CombineRgn_AND() 256 HRGN hrgn1, hrgn2, hrgn3; in Test_CombineRgn_OR() local 262 SetRectRgn(hrgn2, 0, 0, 10, 5); in Test_CombineRgn_OR() 280 HRGN hrgn1, hrgn2, hrgn3; in Test_CombineRgn_DIFF() local [all …]
|
H A D | ExcludeClipRect.c | 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() 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() 50 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_ExcludeClipRect() 55 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); 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() [all …]
|
H A D | OffsetClipRgn.c | 13 HRGN hrgn, hrgn2; in Test_OffsetClipRgn() local 20 hrgn2 = CreateRectRgn(0, 0, 0, 0); in Test_OffsetClipRgn() 45 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_OffsetClipRgn() 47 ok_int(EqualRgn(hrgn, hrgn2), TRUE); in Test_OffsetClipRgn() 54 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_OffsetClipRgn() 56 ok_int(EqualRgn(hrgn, hrgn2), TRUE); in Test_OffsetClipRgn() 64 ok_int(GetRandomRgn(hdc, hrgn2, CLIPRGN), 1); in Test_OffsetClipRgn() 66 ok_int(EqualRgn(hrgn, hrgn2), TRUE); in Test_OffsetClipRgn()
|
H A D | OffsetRgn.c | 12 HRGN hrgn1, hrgn2; in Test_OffsetRgn() local 36 hrgn2 = CreateRectRgn(1000, 20, 1010, 30); in Test_OffsetRgn() 37 ok_int(CombineRgn(hrgn1, hrgn1, hrgn2, RGN_OR), COMPLEXREGION); in Test_OffsetRgn() 39 ok_int(CombineRgn(hrgn1, hrgn1, hrgn2, RGN_XOR), SIMPLEREGION); in Test_OffsetRgn() 40 DeleteObject(hrgn2); in Test_OffsetRgn() 41 hrgn2 = CreateRectRgn(0, 0, 10, 10); in Test_OffsetRgn() 42 ok_int(CombineRgn(hrgn1, hrgn1, hrgn2, RGN_XOR), NULLREGION); in Test_OffsetRgn()
|
H A D | GetRandomRgn.c | 111 HRGN hrgn1, hrgn2; in Test_GetRandomRgn_CLIPRGN() local 138 SelectClipRgn(hdc, hrgn2); in Test_GetRandomRgn_CLIPRGN() 139 DeleteObject(hrgn2); in Test_GetRandomRgn_CLIPRGN() 149 SelectClipRgn(ghdcWindow, hrgn2); in Test_GetRandomRgn_CLIPRGN() 150 DeleteObject(hrgn2); in Test_GetRandomRgn_CLIPRGN() 185 HRGN hrgn1, hrgn2; in Test_GetRandomRgn_SYSRGN() local 213 SelectClipRgn(hdc, hrgn2); in Test_GetRandomRgn_SYSRGN() 214 DeleteObject(hrgn2); in Test_GetRandomRgn_SYSRGN() 267 HRGN hrgn1, hrgn2; in Test_GetRandomRgn_RGN5() local 297 SelectClipRgn(hdc, hrgn2); in Test_GetRandomRgn_RGN5() [all …]
|
H A D | PaintRgn.c | 15 HRGN hrgn1, hrgn2; in Test_PaintRgn() local 25 hrgn2 = CreateRectRgn(2, 3, 5, 8); in Test_PaintRgn() 28 CombineRgn(hrgn1, hrgn1, hrgn2, RGN_OR); in Test_PaintRgn()
|
H A D | GetClipBox.c | 15 HRGN hrgn, hrgn2; in Test_GetClipBox() local 69 hrgn2 = CreateRectRgn(20, 20, 60, 60); in Test_GetClipBox() 70 ok_int(CombineRgn(hrgn, hrgn, hrgn2, RGN_OR), COMPLEXREGION); in Test_GetClipBox() 72 DeleteObject(hrgn2); in Test_GetClipBox()
|
H A D | FrameRgn.c | 104 HRGN hrgn1, hrgn2; in Test_FrameRgn() local 123 hrgn2 = CreateRectRgn(3, 3, 7, 7); in Test_FrameRgn() 126 CombineRgn(hrgn1, hrgn1, hrgn2, RGN_OR); in Test_FrameRgn()
|
/reactos/modules/rostests/apitests/win32nt/ntgdi/ |
H A D | NtGdiGetRandomRgn.c | 15 HRGN hrgn, hrgn2; in START_TEST() local 27 hrgn2 = CreateRectRgn(3,3,10,10); in START_TEST() 63 SelectClipRgn(hDC, hrgn2); in START_TEST() 68 ok_int(CombineRgn(hrgn, hrgn, hrgn2, RGN_XOR), NULLREGION); in START_TEST() 70 SetRectRgn(hrgn2,0,0,0,0); in START_TEST() 71 SelectClipRgn(hDC, hrgn2); in START_TEST() 74 ok_int(CombineRgn(hrgn2, hrgn, hrgn2, RGN_XOR), NULLREGION); in START_TEST() 75 ok_int(CombineRgn(hrgn2, hrgn, hrgn, RGN_OR), NULLREGION); in START_TEST()
|
H A D | NtGdiRestoreDC.c | 14 static HRGN hrgn, hrgn2; variable 52 SelectObject(hdc, hrgn2); in SetSpecialDCState2() 83 TEST(SelectObject(hdc, hrgn2) == (PVOID)1); in Test_IsSpecialState() 88 TEST(SelectObject(hdc, hrgn2) == (PVOID)2); in Test_IsSpecialState() 175 hrgn2 = CreateRectRgn(1, 1, 2, 2); in START_TEST() 176 ASSERT(GdiIsHandleValid(hrgn2)); in START_TEST()
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | clipping.c | 297 HRGN hrgn, hrgn2, hrgn3, hrgn4; in test_GetClipRgn() local 318 hrgn2 = CreateRectRgn(1, 2, 3, 4); in test_GetClipRgn() 319 ok(hrgn2 != NULL, in test_GetClipRgn() 332 ret = GetClipRgn(hdc, hrgn2); in test_GetClipRgn() 336 ret = EqualRgn(hrgn2, hrgn3); in test_GetClipRgn() 350 ret = GetClipRgn(hdc, hrgn2); in test_GetClipRgn() 353 ret = EqualRgn(hrgn, hrgn2); in test_GetClipRgn() 376 DeleteObject(hrgn2); in test_GetClipRgn()
|
H A D | dib.c | 1540 HRGN hrgn, hrgn2; in draw_graphics() local 1621 hrgn2 = CreateRectRgn(100, 100, 200, 200); in draw_graphics() 1622 CombineRgn(hrgn, hrgn, hrgn2, RGN_OR); in draw_graphics() 1623 SetRectRgn(hrgn2, 290, 100, 300, 200); in draw_graphics() 1624 CombineRgn(hrgn, hrgn, hrgn2, RGN_OR); in draw_graphics() 1626 DeleteObject(hrgn2); in draw_graphics()
|
/reactos/modules/rostests/winetests/user32/ |
H A D | dce.c | 232 HRGN hrgn, hrgn2; in test_dc_visrgn() local 297 hrgn2 = CreateRectRgnIndirect( &rect ); in test_dc_visrgn() 298 hdc = GetDCEx( hwnd_owndc, hrgn2, DCX_INTERSECTRGN | DCX_USESTYLE ); in test_dc_visrgn() 304 ok( GetRgnBox( hrgn2, &rect ) != ERROR, "region2 must still be valid\n" ); in test_dc_visrgn() 306 ok( GetRgnBox( hrgn2, &rect ) != ERROR, "region2 must still be valid\n" ); in test_dc_visrgn() 344 hrgn2 = CreateRectRgnIndirect( &rect ); in test_dc_visrgn() 345 hdc = GetDCEx( hwnd_classdc, hrgn2, DCX_INTERSECTRGN | DCX_USESTYLE ); in test_dc_visrgn() 351 ok( GetRgnBox( hrgn2, &rect ) != ERROR, "region2 must still be valid\n" ); in test_dc_visrgn() 356 ok( GetRgnBox( hrgn2, &rect ) != ERROR, "region2 must still be valid\n" ); in test_dc_visrgn() 362 ok( GetRgnBox( hrgn2, &rect ) != ERROR, "region2 must still be valid\n" ); in test_dc_visrgn() [all …]
|
H A D | msg.c | 7898 HRGN hrgn2 = CreateRectRgn( 0, 0, 0, 0 ); in test_paint_messages() local 7913 SetRectRgn( hrgn2, 20, 20, 30, 30 ); in test_paint_messages() 7914 ret = RedrawWindow( hwnd, NULL, hrgn2, RDW_INVALIDATE ); in test_paint_messages() 7916 CombineRgn( hrgn, hrgn, hrgn2, RGN_OR ); in test_paint_messages() 7980 ret = GetUpdateRgn( hwnd, hrgn2, FALSE ); in test_paint_messages() 7990 ret = GetUpdateRgn( hwnd, hrgn2, FALSE ); in test_paint_messages() 7997 SetRectRgn( hrgn2, rect.left, rect.top, rect.right, rect.bottom ); in test_paint_messages() 7998 …ok(RedrawWindow(0, NULL, hrgn2, RDW_ALLCHILDREN | RDW_INVALIDATE | RDW_FRAME | RDW_ERASE | RDW_ERA… in test_paint_messages() 8249 SetRectRgn( hrgn2, 10, 10, 50, 50 ); in test_paint_messages() 8250 CombineRgn( hrgn, hrgn, hrgn2, RGN_DIFF ); in test_paint_messages() [all …]
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | metafile.c | 1336 HRGN hrgn2 = CreateRectRgn( 0, 0, 0, 0 ); in MF_Play_MetaCreateRegion() local 1342 DeleteObject( hrgn2 ); in MF_Play_MetaCreateRegion() 1349 DeleteObject( hrgn2 ); in MF_Play_MetaCreateRegion() 1355 DeleteObject( hrgn2 ); in MF_Play_MetaCreateRegion() 1362 SetRectRgn( hrgn2, *(INT16 *)(start + 3 + 2*pair), y0, in MF_Play_MetaCreateRegion() 1364 CombineRgn(hrgn, hrgn, hrgn2, RGN_OR); in MF_Play_MetaCreateRegion() 1367 DeleteObject( hrgn2 ); in MF_Play_MetaCreateRegion()
|
/reactos/dll/win32/gdiplus/ |
H A D | region.c | 1229 HRGN hrgn1, hrgn2; in GdipIsEqualRegion() local 1240 stat = GdipGetRegionHRgn(region2, graphics, &hrgn2); in GdipIsEqualRegion() 1246 *res = EqualRgn(hrgn1, hrgn2); in GdipIsEqualRegion() 1250 *res = (!hrgn1 && !hrgn2); in GdipIsEqualRegion() 1253 DeleteObject(hrgn2); in GdipIsEqualRegion()
|
/reactos/sdk/include/psdk/ |
H A D | ntgdi.h | 1559 _In_ HRGN hrgn2);
|
H A D | winddi.h | 3276 _In_ HANDLE hrgn2);
|