网站首页  词典首页

请输入您要查询的函数:

 

术语 offsetcliprgn
释义 OffsetClipRgn
语法:
int OffsetClipRgn(
__in HDC hdc,
__in int nXOffset,
__in int nYOffset
);
OffsetClipRgn功能
该OffsetClipRgn函数将在指定偏移一个设备上下文剪辑区域。
参数
hdc [in]
一个句柄,设备上下文。
nXOffset [in]
的逻辑单位数目,向左或向右移动。
nYOffset [in]
的逻辑单位数目,向上或向下移动。
返回值
返回值指定新的区域的复杂性,可以是下列值之一。
返回codeDescription
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion不止一个矩形。
ERRORAn发生错误。 (目前的剪切区域不受影响。)
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
裁剪概述
裁剪功能
SelectClipRgn
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==OffsetClipRgn Function
The OffsetClipRgn function moves the clipping region of a device context by the specified offsets.
Syntax
int OffsetClipRgn(
__in HDC hdc,
__in int nXOffset,
__in int nYOffset
);
Parameters
hdc [in]
A handle to the device context.
nXOffset [in]
The number of logical units to move left or right.
nYOffset [in]
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 codeDescription
NULLREGIONRegion is empty.
SIMPLEREGIONRegion is a single rectangle.
COMPLEXREGIONRegion is more than one rectangle.
ERRORAn error occurred. (The current clipping region is unaffected.)

Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Clipping Overview
Clipping Functions
SelectClipRgn
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162745(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:26:37