网站首页  词典首页

请输入您要查询的函数:

 

术语 setmiterlimit
释义 SetMiterLimit
语法:
BOOL SetMiterLimit(
__in HDC hdc,
__in FLOAT eNewLimit,
__out PFLOAT peOldLimit
);
SetMiterLimit功能
该SetMiterLimit函数设置的斜接长度限制加入指定的设备上下文。
参数
hdc [in]
句柄设备上下文。
eNewLimit [in]
指定的设备上下文新的斜接限制。
peOldLimit [out]
指针的浮点值,它接收前斜接限制。如果该参数为NULL,以前的斜接限制不会返回。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
在人字的长度是指从该行的墙壁就加入了联接外面的墙壁相交线相交的距离内。斜接限制是允许的最大长度是人字的比例,线宽。
默认斜接限制为10.0。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
路径概览
路径功能
ExtCreatePen
GetMiterLimit
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==SetMiterLimit Function
The SetMiterLimit function sets the limit for the length of miter joins for the specified device context.
Syntax
BOOL SetMiterLimit(
__in HDC hdc,
__in FLOAT eNewLimit,
__out PFLOAT peOldLimit
);
Parameters
hdc [in]
Handle to the device context.
eNewLimit [in]
Specifies the new miter limit for the device context.
peOldLimit [out]
Pointer to a floating-point value that receives the previous miter limit. If this parameter is NULL, the previous miter limit is not returned.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The miter length is defined as the distance from the intersection of the line walls on the inside of the join to the intersection of the line walls on the outside of the join. The miter limit is the maximum allowed ratio of the miter length to the line width.
The default miter limit is 10.0.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Paths Overview
Path Functions
ExtCreatePen
GetMiterLimit
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd145076(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 11:24:47