Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The OffsetClipRgn function moves the clipping region of a device context by the specified offsets.
Syntax
int OffsetClipRgn(
[in] HDC hdc,
[in] int x,
[in] int y
);
Parameters
[in] hdc
A handle to the device context.
[in] x
The number of logical units to move left or right.
[in] y
The number of logical units to move up or down.
Return value
The return value specifies the new region's complexity and can be one of the following values.
| Return code | Description |
|---|---|
|
Region is empty. |
|
Region is a single rectangle. |
|
Region is more than one rectangle. |
|
An error occurred. (The current clipping region is unaffected.) |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | wingdi.h (include Windows.h) |
| Library | Gdi32.lib |
| DLL | Gdi32.dll |