|
||||||||||||
|
Intersects the specified rectangle with the visible region of the DC. This function intersects the specified rectangle prc with the visible region of the device context hdc.
|
|
||||||||||||
|
Excludes the specified rectangle from the current visible region of a DC. This function excludes the specified rect prc from the current visible region of the device context hdc.
|
|
||||||||||||
|
Retrives the bounding rectangle of the current visible region of a DC. This function retrives the bounding rectangle of the current visible region of the specified device context hdc, and returned through pRect.
|
|
||||||||||||
|
Includes the specified rectangle to the current visible region of a DC. This function includes the specified rectangle prc to the current visible region of the device context hdc.
|
|
||||||||||||||||
|
Checks whether a point is visible. This function checks whether the point specified by (x,y) is visible, i.e. it is within the current visible clipping region of the device context hdc.
|
|
||||||||||||
|
Checks whether the specified rectangle is visible. This function checks whether the rectangle pointed to by pRect is visible, i.e. it is intersected with the current visible region of the device context hdc.
/* * Use RectVisible to optimize the repaint of the window. */ MSG_PAINT: { HDC hdc = BeginPaint (hWnd); for (j = 0; j < 10; j ++) { if (RectVisible (hdc, rcs + j)) { FillBox (hdc, rcs[j].left, rcs[j].top, rcs [j].right, rcs [j].bottom); } } EndPaint (hWnd, hdc); return 0; } |
|
||||||||||||
|
Sets the visible region of a DC to be a rectangle. This function sets the visible region of the device context hdc to the rectangle pointed to by prc.
|
|
||||||||||||
|
Sets the visible region of a DC to be a region. This function sets the visible region of the device context hdc to the region pointed to by pRgn.
|
1.4.2