网站首页  词典首页

请输入您要查询的函数:

 

术语 intersectcliprect
释义 IntersectClipRect
语法:
int IntersectClipRect(
__in HDC hdc,
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
IntersectClipRect功能
该IntersectClipRect函数创建一个从目前的剪辑区域的交集新的剪辑区域和指定的矩形。
参数
hdc [in]
一个句柄,设备上下文。
nLeftRect [in]
的x坐标,按逻辑单位,矩形的左上角。
nTopRect [in]
在y坐标,按逻辑单位,矩形的左上角。
nRightRect [in]
的x坐标,按逻辑单位,在右下角的矩形。
nBottomRect [in]
在y坐标,按逻辑单位低,,矩形的右上角。
返回值
返回值指定新的剪辑区域的类型可以是下列值之一。
返回codeDescription
NULLREGIONRegion是空的。
SIMPLEREGIONRegion是一个单一的矩形。
COMPLEXREGIONRegion不止一个矩形。
ERRORAn发生错误。 (目前的剪切区域不受影响。)
备注
较低的和右的大部分给定的矩形边缘被排除在剪辑区域。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
裁剪概述
裁剪功能
ExcludeClipRect
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==IntersectClipRect Function
The IntersectClipRect function creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
Syntax
int IntersectClipRect(
__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 type 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.)

Remarks
The lower and right-most edges of the given rectangle are 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
ExcludeClipRect
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144998(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 13:24:48