网站首页  计算机词典

请输入您要查询的字词:

 

字词 equalrect
释义 EqualRect
语法:
BOOL EqualRect(
__in const RECT *lprc1,
__in const RECT *lprc2
);
EqualRect功能
该EqualRect函数确定是否在两个指定的矩形坐标比较其左上角和右下角角相等。
参数
lprc1 [in]
指针RECT结构,它包含的逻辑第一矩形坐标。
lprc2 [in]
指针RECT结构,它包含的逻辑第二矩形坐标。
返回值
如果两个矩形是相同的,则返回值为非零。
如果这两个矩形并不相同,返回值是零。
备注
该EqualRect功能不被视为平等的空矩形如果他们的坐标是不同的。
因为应用程序可以使用不同的目的矩形,矩形的职能不使用明确的衡量单位。相反,所有矩形坐标和尺寸在签署的,逻辑值给出。映射模式和在该矩形用来确定测量装置的功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
矩形概述
矩形函数
IsRectEmpty
PtInRect
RECT
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==EqualRect Function
The EqualRect function determines whether the two specified rectangles are equal by comparing the coordinates of their upper-left and lower-right corners.
Syntax
BOOL EqualRect(
__in const RECT *lprc1,
__in const RECT *lprc2
);
Parameters
lprc1 [in]
Pointer to a RECT structure that contains the logical coordinates of the first rectangle.
lprc2 [in]
Pointer to a RECT structure that contains the logical coordinates of the second rectangle.
Return Value
If the two rectangles are identical, the return value is nonzero.
If the two rectangles are not identical, the return value is zero.
Remarks
The EqualRect function does not treat empty rectangles as equal if their coordinates are different.
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.
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
IsRectEmpty
PtInRect
RECT
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162699(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 23:30:08