网站首页  词典首页

请输入您要查询的函数:

 

术语 excludecliprect
释义 ExcludeClipRect
语法:
int ExcludeClipRect(
__in HDC hdc,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
ExcludeClipRect功能
该ExcludeClipRect函数创建一个新的剪辑区域的现有减去指定的矩形剪辑区域组成。
参数
hdc [in]
一个句柄,设备上下文。
nLeftRect [in]
的x坐标,按逻辑单位,矩形的左上角。
nTopRect [in]
在y坐标,按逻辑单位,矩形的左上角。
nRightRect [in]
的x坐标,按逻辑单位,在右下角的矩形。
nBottomRect [in]
在y坐标,按逻辑单位低,,矩形的右上角。
返回值
返回值指定新的剪辑区域的复杂性,它可以是下列值之一。
返回codeDescription
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion不止一个矩形。
ERRORNo地区已建立。
备注
指定的矩形的右边缘低,不排除在剪辑区域。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
裁剪概述
裁剪功能
IntersectClipRect
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==ExcludeClipRect Function
The ExcludeClipRect function creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
Syntax
int ExcludeClipRect(
__in HDC hdc,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
Parameters
hdc [in]
A handle to the device context.
nLeftRect [in]
The x-coordinate, in logical units, of the upper-left corner of the rectangle.
nTopRect [in]
The y-coordinate, in logical units, of the upper-left corner of the rectangle.
nRightRect [in]
The x-coordinate, in logical units, of the lower-right corner of the rectangle.
nBottomRect [in]
The y-coordinate, in logical units, of the lower-right corner of the rectangle.
Return Value
The return value specifies the new clipping region's complexity; it can be one of the following values.
Return codeDescription
NULLREGIONRegion is empty.
SIMPLEREGIONRegion is a single rectangle.
COMPLEXREGIONRegion is more than one rectangle.
ERRORNo region was created.

Remarks
The lower and right edges of the specified rectangle are not excluded from the clipping region.
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
IntersectClipRect
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162702(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:29:51