网站首页  词典首页

请输入您要查询的函数:

 

术语 createroundrectrgn
释义 CreateRoundRectRgn
语法:
HRGN CreateRoundRectRgn(
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect,
__in int nWidthEllipse,
__in int nHeightEllipse
);
CreateRoundRectRgn函数
该CreateRoundRectRgn函数创建一个圆角矩形区域。
参数
nLeftRect [in]
指定的X坐标的设备单位区域的左上角。
nTopRect [in]
指定的y坐标的设备单位区域的左上角。
nRightRect [in]
指定的X坐标下,在设备单位区域的右上角。
nBottomRect [in]
指定的y坐标下,在设备单位区域的右上角。
nWidthEllipse [in]
指定用于创建设备单位的圆角椭圆的宽度。
nHeightEllipse [in]
指定用于创建设备单位的圆角椭圆的高度。
返回值
如果函数成功,返回值是处理该地区。
如果函数失败,返回值为NULL。
备注
当您不再需要HRGN对象调用DeleteObject函数将其删除。
地区坐标表示为27位有符号整数。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
地区概况
区域函数
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
ExtCreateRegion
GetRegionData
DeleteObject
SelectObject
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==CreateRoundRectRgn Function
The CreateRoundRectRgn function creates a rectangular region with rounded corners.
Syntax
HRGN CreateRoundRectRgn(
__in int nLeftRect,
__in int nTopRect,
__in int nRightRect,
__in int nBottomRect,
__in int nWidthEllipse,
__in int nHeightEllipse
);
Parameters
nLeftRect [in]
Specifies the x-coordinate of the upper-left corner of the region in device units.
nTopRect [in]
Specifies the y-coordinate of the upper-left corner of the region in device units.
nRightRect [in]
Specifies the x-coordinate of the lower-right corner of the region in device units.
nBottomRect [in]
Specifies the y-coordinate of the lower-right corner of the region in device units.
nWidthEllipse [in]
Specifies the width of the ellipse used to create the rounded corners in device units.
nHeightEllipse [in]
Specifies the height of the ellipse used to create the rounded corners in device units.
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.
Region coordinates are represented as 27-bit signed integers.
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
CreatePolygonRgn
CreatePolyPolygonRgn
CreateRectRgn
CreateRectRgnIndirect
ExtCreateRegion
GetRegionData
DeleteObject
SelectObject
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd183516(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:01