术语 | isrectempty |
释义 | IsRectEmpty 语法: BOOL IsRectEmpty( __in const RECT *lprc ); IsRectEmpty功能 该IsRectEmpty函数确定指定矩形是否为空。一个空的矩形是一个没有区域,即协调右侧小于或等于协调左侧,或协调底部小于或等于协调顶部旁边。 参数 利比里亚炼油公司 [in] 指针RECT结构,它包含的逻辑矩形的坐标。 返回值 If the rectangle is empty, the return value is nonzero. 如果矩形不为空,则返回值是零。 备注 因为应用程序可以使用不同的目的矩形,矩形的职能不使用明确的衡量单位。相反,所有矩形坐标和尺寸在签署的,逻辑值给出。映射模式和在该矩形用来确定测量装置的功能。 实例 有关示例,请参阅使用矩形。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinuser.h(头文件:winuser.h) LibraryUser32.lib DLLUser32.dll 参见 矩形概述 矩形函数 EqualRect PtInRect RECT 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==IsRectEmpty Function The IsRectEmpty function determines whether the specified rectangle is empty. An empty rectangle is one that has no area; that is, the coordinate of the right side is less than or equal to the coordinate of the left side, or the coordinate of the bottom side is less than or equal to the coordinate of the top side. Syntax BOOL IsRectEmpty( __in const RECT *lprc ); Parameters lprc [in] Pointer to a RECT structure that contains the logical coordinates of the rectangle. Return Value If the rectangle is empty, the return value is nonzero. If the rectangle is not empty, the return value is zero. Remarks Because applications can use rectangles for different purposes, the rectangle functions do not use an explicit unit of measure. Instead, all rectangle coordinates and dimensions are given in signed, logical values. The mapping mode and the function in which the rectangle is used determine the units of measure. Examples For an example, see Using Rectangles . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinuser.h (include Windows.h) LibraryUser32.lib DLLUser32.dll See Also Rectangles Overview Rectangle Functions EqualRect PtInRect RECT Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd145017(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。