网站首页  词典首页

请输入您要查询的函数:

 

术语 createellipticrgn
释义 CreateEllipticRgn
语法:
HRGN CreateEllipticRgn(
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
CreateEllipticRgn函数
该CreateEllipticRgn函数创建一个椭圆形区域。
参数
nLeftRect [in]
指定的x坐标逻辑单位,对椭圆边界矩形的左上角。
nTopRect [in]
指定的y的椭圆的边界矩形左上角的坐标逻辑单位。
nRightRect [in]
指定的x坐标按逻辑单位低,的椭圆的边界矩形右下角。
nBottomRect [in]
指定的y坐标下的逻辑单位的椭圆的边界矩形右下角。
返回值
如果函数成功,返回值是处理该地区。
如果函数失败,返回值为NULL。
备注
当您不再需要HRGN对象,调用DeleteObject函数将其删除。
阿边界矩形定义的大小,形状,以及该地区的方向:矩形的长边界定椭圆的长轴长度;的短边确定椭圆的短轴长度,以及矩形的中心定义相交的主要和次要轴线。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
CreateEllipticRegnIndirect
DeleteObject
SelectObject
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CreateEllipticRgn Function
The CreateEllipticRgn function creates an elliptical region.
Syntax
HRGN CreateEllipticRgn(
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect
);
Parameters
nLeftRect [in]
Specifies the x-coordinate in logical units, of the upper-left corner of the bounding rectangle of the ellipse.
nTopRect [in]
Specifies the y-coordinate in logical units, of the upper-left corner of the bounding rectangle of the ellipse.
nRightRect [in]
Specifies the x-coordinate in logical units, of the lower-right corner of the bounding rectangle of the ellipse.
nBottomRect [in]
Specifies the y-coordinate in logical units, of the lower-right corner of the bounding rectangle of the ellipse.
Return Value
If the function succeeds, the return value is the handle to the region.
If the function fails, the return value is NULL.
Remarks
When you no longer need the HRGN object, call the DeleteObject function to delete it.
A bounding rectangle defines the size, shape, and orientation of the region: The long sides of the rectangle define the length of the ellipse's major axis; the short sides define the length of the ellipse's minor axis; and the center of the rectangle defines the intersection of the major and minor axes.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Regions Overview
Region Functions
CreateEllipticRegnIndirect
DeleteObject
SelectObject
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183496(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:18:07