ReactOS
0.4.15-dev-5618-g8866b9d
|
Go to the source code of this file.
Classes | |
struct | BRESINFO |
struct | _EDGE_TABLE_ENTRY |
struct | _SCANLINE_LIST |
struct | EDGE_TABLE |
struct | _SCANLINE_LISTBLOCK |
struct | _POINTBLOCK |
Macros | |
#define | NDEBUG |
#define | COPY_RECTS(dest, src, nRects) |
#define | EMPTY_REGION(pReg) |
#define | REGION_NOT_EMPTY(pReg) pReg->rdh.nCount |
#define | INRECT(r, x, y) |
#define | EXTENTCHECK(r1, r2) |
#define | BRESINITPGON(dy, x1, x2, xStart, d, m, m1, incr1, incr2) |
#define | BRESINCRPGON(d, minval, m, m1, incr1, incr2) |
#define | BRESINITPGONSTRUCT(dmaj, min1, min2, bres) |
#define | BRESINCRPGONSTRUCT(bres) BRESINCRPGON(bres.d, bres.minor_axis, bres.m, bres.m1, bres.incr1, bres.incr2) |
#define | CLOCKWISE 1 |
#define | COUNTERCLOCKWISE -1 |
#define | SLLSPERBLOCK 25 |
#define | EVALUATEEDGEWINDING(pAET, pPrevAET, y, fixWAET) |
#define | EVALUATEEDGEEVENODD(pAET, pPrevAET, y) |
#define | LARGE_COORDINATE INT_MAX |
#define | SMALL_COORDINATE INT_MIN |
#define | NUMPTSTOBUFFER 200 |
#define | RGN_DEFAULT_RECTS 2 |
Typedefs | |
typedef struct _EDGE_TABLE_ENTRY | EDGE_TABLE_ENTRY |
typedef struct _SCANLINE_LIST | SCANLINE_LIST |
typedef struct _SCANLINE_LISTBLOCK | SCANLINE_LISTBLOCK |
typedef BOOL(FASTCALL * | overlapProcp) (PREGION, PRECT, PRECT, PRECT, PRECT, INT, INT) |
typedef BOOL(FASTCALL * | nonOverlapProcp) (PREGION, PRECT, PRECT, INT, INT) |
typedef struct _POINTBLOCK | POINTBLOCK |
Variables | |
PREGION | prgnDefault = NULL |
HRGN | hrgnDefault = NULL |
#define BRESINCRPGONSTRUCT | ( | bres | ) | BRESINCRPGON(bres.d, bres.minor_axis, bres.m, bres.m1, bres.incr1, bres.incr2) |
#define BRESINITPGONSTRUCT | ( | dmaj, | |
min1, | |||
min2, | |||
bres | |||
) |
#define EMPTY_REGION | ( | pReg | ) |
typedef struct _EDGE_TABLE_ENTRY EDGE_TABLE_ENTRY |
typedef struct _POINTBLOCK POINTBLOCK |
typedef struct _SCANLINE_LIST SCANLINE_LIST |
_Success_ | ( | return! | = 0 | ) |
MSDN: GetRegionData, Return Values:
"If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount. If dwCount is too small or the function fails, the return value is 0. If lpRgnData is NULL, the return value is the required number of bytes.
If the function fails, the return value is zero."
Definition at line 4104 of file region.c.
Definition at line 2041 of file region.c.
Referenced by NtGdiFrameRgn().
HRGN NTAPI GreCreatePolyPolygonRgn | ( | _In_ const POINT * | ppt, |
_In_ const ULONG * | pcPoints, | ||
_In_ ULONG | cPolygons, | ||
_In_ INT | iMode | ||
) |
Definition at line 3473 of file region.c.
Referenced by NtGdiPolyPolyDraw().
INT FASTCALL IntGdiCombineRgn | ( | PREGION | prgnDest, |
PREGION | prgnSrc1, | ||
PREGION | prgnSrc2, | ||
INT | iCombineMode | ||
) |
Definition at line 2506 of file region.c.
Referenced by _Success_(), co_IntGetUpdateRgn(), co_UserRedrawWindow(), co_VIS_WindowLayoutChanged(), co_WinPosSetWindowPos(), DC_vCopyState(), DceUpdateVisRgn(), ForceNCPaintErase(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntInvalidateWindows(), IntScrollWindowEx(), IntValidateParents(), NtGdiCombineRgn(), NtGdiGetRandomRgn(), REGION_LPTODP(), UserScrollDC(), and VIS_ComputeVisibleRegion().
Definition at line 2580 of file region.c.
Referenced by co_UserGetUpdateRect(), and IntGetNCUpdateRgn().
Definition at line 2478 of file region.c.
Referenced by co_UserFreeWindow(), ForceNCPaintErase(), IntBeginPaint(), IntGetNCUpdateRgn(), IntInvalidateWindows(), SelectWindowRgn(), and UserUpdateMonitorSize().
Definition at line 3509 of file region.c.
Referenced by NtGdiRectInRegion().
Definition at line 2426 of file region.c.
Referenced by _Success_(), CLIPPING_UpdateGCRegion(), co_UserRedrawWindow(), co_VIS_WindowLayoutChanged(), co_WinPosSetWindowPos(), DC_InitHack(), DC_vCopyState(), DC_vInitDc(), DC_vUpdateDC(), DceGetVisRgn(), DceUpdateVisRgn(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntGdiSetMetaRgn(), IntInvalidateWindows(), IntScrollWindowEx(), IntSetDefaultRegion(), NtGdiSelectClipPath(), and PATH_FillPathEx().
Definition at line 3533 of file region.c.
Referenced by CombineRgn().
Definition at line 3592 of file region.c.
Referenced by CreateEllipticRgnIndirect().
Definition at line 3607 of file region.c.
Referenced by CreateRectRgn(), and NtGdiCreateRoundRectRgn().
HRGN APIENTRY NtGdiCreateRoundRectRgn | ( | INT | left, |
INT | top, | ||
INT | right, | ||
INT | bottom, | ||
INT | ellipse_width, | ||
INT | ellipse_height | ||
) |
Definition at line 3636 of file region.c.
Referenced by NtGdiCreateEllipticRgn().
Definition at line 3741 of file region.c.
Definition at line 3826 of file region.c.
Referenced by ExtCreateRegion().
Definition at line 3941 of file region.c.
Referenced by emfdrv_stroke_and_fill_path(), and GetRgnBox().
Definition at line 3983 of file region.c.
Referenced by co_UserExcludeUpdateRgn(), co_UserGetUpdateRgn(), co_WinPosSetWindowPos(), DceResetActiveDCEs(), IntCalcWindowRgn(), and OffsetRgn().
Definition at line 4018 of file region.c.
Referenced by IntPtInWindow(), and PtInRegion().
Definition at line 4045 of file region.c.
Referenced by RectInRegion().
BOOL APIENTRY NtGdiSetRectRgn | ( | _In_ HRGN | hrgn, |
_In_ INT | xLeft, | ||
_In_ INT | yTop, | ||
_In_ INT | xRight, | ||
_In_ INT | yBottom | ||
) |
Definition at line 4070 of file region.c.
Referenced by co_UserGetUpdateRgn(), and SetRectRgn().
Definition at line 2219 of file region.c.
Referenced by REGION_AllocUserRgnWithHandle(), and REGION_XorRegion().
Definition at line 2313 of file region.c.
Referenced by GreCreateFrameRgn(), GreCreatePolyPolygonRgn(), NtGdiCreateRectRgn(), NtGdiCreateRoundRectRgn(), NtGdiExtCreateRegion(), and NtGdiPathToRegion().
|
static |
Definition at line 504 of file region.c.
Referenced by REGION_bMergeRect(), REGION_IntersectO(), and REGION_SubtractO().
Definition at line 2279 of file region.c.
Referenced by REGION_AllocUserRgnWithHandle().
Definition at line 1844 of file region.c.
Referenced by _Success_(), CLIPPING_UpdateGCRegion(), and GdiSelectVisRgn().
Definition at line 468 of file region.c.
Referenced by REGION_bAddRect(), REGION_SubtractNonO1(), REGION_SubtractO(), and REGION_UnionNonO().
Definition at line 418 of file region.c.
Referenced by REGION_bEnsureBufferSize().
Definition at line 1854 of file region.c.
Referenced by CLIPPING_UpdateGCRegion(), and IntGdiSetMetaRgn().
|
static |
Definition at line 1956 of file region.c.
Referenced by GreCreateFrameRgn().
|
static |
Definition at line 1865 of file region.c.
Referenced by REGION_bMakeFrameRegion().
|
static |
Definition at line 1385 of file region.c.
Referenced by REGION_UnionO().
Definition at line 2727 of file region.c.
Referenced by CLIPPING_UpdateGCRegion(), co_IntGetUpdateRgn(), co_UserRedrawWindow(), co_VIS_WindowLayoutChanged(), co_WinPosSetWindowPos(), DceResetActiveDCEs(), GdiSelectVisRgn(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntInvalidateWindows(), IntScrollWindowEx(), NtGdiGetRandomRgn(), NtGdiOffsetClipRgn(), NtGdiOffsetRgn(), REGION_bMakeFrameRegion(), REGION_bXformRgn(), UserScrollDC(), and VIS_ComputeVisibleRegion().
Definition at line 2082 of file region.c.
Referenced by REGION_LPTODP().
Attempt to merge the rects in the current band with those in the previous one. Used only by REGION_RegionOp.
Results: The new index for the previous band.
Definition at line 822 of file region.c.
Referenced by REGION_RegionOp().
Definition at line 567 of file region.c.
Referenced by _Success_(), co_WinPosSetWindowPos(), DxEngGetDCState(), IntGdiCombineRgn(), IntGdiSetMetaRgn(), NtGdiOffsetClipRgn(), NtGdiOffsetRgn(), REGION_bMakeFrameRegion(), REGION_CropRegion(), REGION_GetRgnBox(), REGION_SubtractRectFromRgn(), and REGION_UnlockRgn().
|
static |
Definition at line 2957 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
Definition at line 587 of file region.c.
Referenced by IntGdiCombineRgn(), REGION_bCopy(), REGION_bMakeFrameRegion(), REGION_SubtractRegion(), and REGION_UnionRegion().
|
static |
Definition at line 3189 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
Definition at line 678 of file region.c.
Definition at line 2468 of file region.c.
Referenced by _Success_(), CLIPPING_UpdateGCRegion(), co_UserRedrawWindow(), co_VIS_WindowLayoutChanged(), co_WinPosSetWindowPos(), DC_vCleanup(), DC_vCopyState(), DC_vUpdateDC(), DceUpdateVisRgn(), GreCreateFrameRgn(), GreCreatePolyPolygonRgn(), IntEngWndUpdateClipObj(), IntGdiBitBltRgn(), IntGdiCleanDC(), IntGdiFillRgn(), IntGdiReleaseVisRgn(), IntGdiSetMetaRgn(), IntInvalidateWindows(), IntScrollWindowEx(), IntValidateParents(), NtGdiExcludeClipRect(), NtGdiIntersectClipRect(), NtGdiPathToRegion(), NtGdiSelectClipPath(), PATH_FillPathEx(), UserRedrawDesktop(), UserScrollDC(), and VIS_ComputeVisibleRegion().
|
static |
Definition at line 3041 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
Definition at line 2562 of file region.c.
Referenced by _Success_(), co_WinPosSetWindowPos(), IntGdiBitBltRgn(), IntGdiFillRgn(), IntGdiGetRgnBox(), NtGdiExtFloodFill(), NtGdiExtSelectClipRgn(), NtGdiGetBoundsRect(), NtGdiGetRgnBox(), NtUserEnumDisplayMonitors(), UpdateVisRgn(), and UserScrollDC().
|
static |
Definition at line 2826 of file region.c.
Referenced by REGION_CreateETandAET().
|
static |
Definition at line 2998 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
|
static |
Handle an overlapping band for REGION_Intersect.
Results: None.
Definition at line 1250 of file region.c.
Referenced by REGION_IntersectRegion().
Definition at line 1306 of file region.c.
Referenced by IntGdiCombineRgn(), REGION_bIntersectRegion(), and REGION_bMakeFrameRegion().
|
static |
Definition at line 2904 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
Definition at line 2377 of file region.c.
Referenced by _Success_(), co_IntGetUpdateRgn(), co_WinPosSetWindowPos(), DceUpdateVisRgn(), ForceNCPaintErase(), GreCreateFrameRgn(), IntDefWindowProc(), IntGdiGetRgnBox(), IntGdiSetRegionOwner(), IntInvalidateWindows(), IntRectInRegion(), IntScrollWindowEx(), IntValidateParents(), NtGdiExtSelectClipRgn(), NtGdiFillRgn(), NtGdiGetRandomRgn(), NtGdiGetRgnBox(), NtGdiInvertRgn(), NtGdiOffsetRgn(), NtGdiPtInRegion(), NtGdiSetRectRgn(), NtUserCallHwndParamLock(), NtUserRedrawWindow(), PaintSuspendedWindow(), UserScrollDC(), and VIS_ComputeVisibleRegion().
Definition at line 2602 of file region.c.
Referenced by NtGdiExtFloodFill(), NtGdiPtInRegion(), and NtGdiPtVisible().
|
static |
Definition at line 3063 of file region.c.
Referenced by REGION_SetPolyPolygonRgn().
Definition at line 2625 of file region.c.
Referenced by IntRectInRegion(), and NtGdiRectVisible().
|
static |
Apply an operation to two regions. Called by REGION_Union, REGION_Inverse, REGION_Subtract, REGION_Intersect...
Results: None.
Side Effects: The new region is overwritten.
Definition at line 960 of file region.c.