Home
last modified time | relevance | path

Searched refs:rgn (Results 1 – 13 of 13) sorted by relevance

/reactos/modules/rostests/winetests/gdi32/
H A Dclipping.c124 } rgn; in verify_region() local
136 ret = GetRegionData(hrgn, sizeof(rgn), &rgn.data); in verify_region()
143 rgn.data.rdh.dwSize, rgn.data.rdh.iType, rgn.data.rdh.nCount, rgn.data.rdh.nRgnSize, in verify_region()
181 } rgn; in test_ExtCreateRegion() local
201 hrgn = ExtCreateRegion(NULL, sizeof(rgn), &rgn.data); in test_ExtCreateRegion()
205 rgn.data.rdh.dwSize = sizeof(rgn.data.rdh) - 1; in test_ExtCreateRegion()
208 hrgn = ExtCreateRegion(NULL, sizeof(rgn), &rgn.data); in test_ExtCreateRegion()
214 rgn.data.rdh.dwSize = sizeof(rgn.data.rdh); in test_ExtCreateRegion()
231 hrgn = ExtCreateRegion(NULL, sizeof(rgn), &rgn.data); in test_ExtCreateRegion()
253 rgn.data.rdh.dwSize = sizeof(rgn.data.rdh) + 1; in test_ExtCreateRegion()
[all …]
H A Dpath.c41 HRGN rgn; in test_path_state() local
143 rgn = PathToRegion( hdc ); in test_path_state()
144 ok( !rgn, "PathToRegion succeeded\n" ); in test_path_state()
214 rgn = PathToRegion( hdc ); in test_path_state()
215 ok( !rgn, "PathToRegion succeeded\n" ); in test_path_state()
276 rgn = PathToRegion( hdc ); in test_path_state()
277 ok( rgn != 0, "PathToRegion failed\n" ); in test_path_state()
278 DeleteObject( rgn ); in test_path_state()
284 rgn = PathToRegion( hdc ); in test_path_state()
285 ok( !rgn, "PathToRegion succeeded on empty path\n" ); in test_path_state()
[all …]
/reactos/base/applications/mstsc/
H A Dwin32.c222 HRGN rgn; in mi_scroll() local
227 DeleteObject(rgn); in mi_scroll()
739 HRGN rgn; in mi_clip() local
748 return rgn; in mi_clip()
881 HRGN rgn; in mi_paint_rect() local
978 DeleteObject(rgn); in mi_paint_rect()
1199 HRGN rgn; in mi_fill_rect() local
1234 DeleteObject(rgn); in mi_fill_rect()
1244 HRGN rgn; in mi_line() local
1278 DeleteObject(rgn); in mi_line()
[all …]
/reactos/dll/directx/wine/ddraw/
H A Dclipper.c103 HRGN rgn; in get_window_region() local
112 if (!(rgn = CreateRectRgn(0, 0, 0, 0))) in get_window_region()
119 if (GetRandomRgn(dc, rgn, SYSRGN) != 1) in get_window_region()
122 DeleteObject(rgn); in get_window_region()
130 OffsetRgn(rgn, origin.x, origin.y); in get_window_region()
134 return rgn; in get_window_region()
/reactos/modules/rostests/winetests/gdiplus/
H A Dregion.c56 } rgn; in verify_region() local
68 ret = GetRegionData(hrgn, sizeof(rgn), &rgn.data); in verify_region()
75 rgn.data.rdh.dwSize, rgn.data.rdh.iType, in verify_region()
76 rgn.data.rdh.nCount, rgn.data.rdh.nRgnSize, in verify_region()
78 if (rgn.data.rdh.nCount != 0) in verify_region()
86 …ok(rgn.data.rdh.dwSize == sizeof(rgn.data.rdh), "expected sizeof(rdh), got %u\n", rgn.data.rdh.dwS… in verify_region()
87 … ok(rgn.data.rdh.iType == RDH_RECTANGLES, "expected RDH_RECTANGLES, got %u\n", rgn.data.rdh.iType); in verify_region()
90 ok(rgn.data.rdh.nCount == 0, "expected 0, got %u\n", rgn.data.rdh.nCount); in verify_region()
91 ok(rgn.data.rdh.nRgnSize == 0, "expected 0, got %u\n", rgn.data.rdh.nRgnSize); in verify_region()
95 ok(rgn.data.rdh.nCount == 1, "expected 1, got %u\n", rgn.data.rdh.nCount); in verify_region()
[all …]
H A Dgraphics.c6686 HRGN rgn; in test_cliphrgn_transform() local
6697 rgn = CreateRectRgn(0, 0, 100, 100); in test_cliphrgn_transform()
6699 status = GdipSetClipHrgn(graphics, rgn, CombineModeReplace); in test_cliphrgn_transform()
6717 DeleteObject(rgn); in test_cliphrgn_transform()
/reactos/win32ss/gdi/gdi32/wine/
H A Dmetadc.c713 INT16 rgn, brush; in METADC_FillRgn() local
717 rgn = metadc_create_region( metadc, hrgn ); in METADC_FillRgn()
718 if (rgn == -1) return FALSE; in METADC_FillRgn()
727 INT16 rgn, brush; in METADC_FrameRgn() local
730 rgn = metadc_create_region( metadc, hrgn ); in METADC_FrameRgn()
731 if (rgn == -1) return FALSE; in METADC_FrameRgn()
991 INT16 rgn; in METADC_ExtSelectClipRgn() local
997 rgn = metadc_create_region( metadc, hrgn ); in METADC_ExtSelectClipRgn()
998 if(rgn == -1) return ERROR; in METADC_ExtSelectClipRgn()
1000 metadc_param1( hdc, META_DELETEOBJECT, rgn ); in METADC_ExtSelectClipRgn()
[all …]
/reactos/win32ss/gdi/ntgdi/
H A Dregion.c1800 PREGION rgn, in REGION_UnionRectWithRgn() argument
1809 return REGION_UnionRegion(rgn, rgn, &region); in REGION_UnionRectWithRgn()
2669 PREGION rgn, in REGION_SetRectRgn() argument
2693 firstRect = rgn->Buffer; in REGION_SetRectRgn()
2695 firstRect->left = rgn->rdh.rcBound.left = LeftRect; in REGION_SetRectRgn()
2696 firstRect->top = rgn->rdh.rcBound.top = TopRect; in REGION_SetRectRgn()
2697 firstRect->right = rgn->rdh.rcBound.right = RightRect; in REGION_SetRectRgn()
2698 firstRect->bottom = rgn->rdh.rcBound.bottom = BottomRect; in REGION_SetRectRgn()
2699 rgn->rdh.nCount = 1; in REGION_SetRectRgn()
2700 rgn->rdh.iType = RDH_RECTANGLES; in REGION_SetRectRgn()
[all …]
H A Dregion.h28 BOOL FASTCALL REGION_UnionRectWithRgn(PREGION rgn, const RECTL *rect);
/reactos/dll/win32/gdiplus/
H A Dgraphics.c353 GpRegion *rgn; in get_clip_hrgn() local
374 GdipDeleteRegion(rgn); in get_clip_hrgn()
4376 GpRegion *rgn; in SOFTWARE_GdipFillPath() local
5126 GpRegion* rgn; in GdipIsVisiblePoint() local
5152 GdipDeleteRegion(rgn); in GdipIsVisiblePoint()
5164 GpRegion* rgn; in GdipIsVisibleRect() local
5196 GdipDeleteRegion(rgn); in GdipIsVisibleRect()
5704 HRGN rgn = NULL; in GdipDrawString() local
5821 DeleteObject(rgn); in GdipDrawString()
7482 GpRegion* rgn; in GdipIsVisibleClipEmpty() local
[all …]
/reactos/dll/win32/comctl32/
H A Dheader.c337 HRGN rgn; in create_sort_arrow() local
366 rgn = ExtCreateRegion( NULL, size, data ); in create_sort_arrow()
368 return rgn; in create_sort_arrow()
/reactos/modules/rostests/winetests/user32/
H A Dsysparams.c3219 HRGN rgn, update; in test_dpi_mapping() local
3355 rgn = CreateRectRgn( 20, 20, 25, 25 ); in test_dpi_mapping()
3359 RedrawWindow( hwnd, 0, rgn, RDW_INVALIDATE ); in test_dpi_mapping()
3374 RedrawWindow( hwnd, 0, rgn, RDW_INVALIDATE ); in test_dpi_mapping()
H A Dwin.c3887 HRGN rgn; in test_validatergn() local
3910 rgn = CreateRectRgnIndirect( &rc); in test_validatergn()
3911 ValidateRgn( hwnd, rgn); in test_validatergn()
3917 DeleteObject( rgn); in test_validatergn()