术语 | widenpath |
释义 | WidenPath 语法: BOOL WidenPath( __in HDC hdc ); WidenPath功能 该WidenPath功能重新定义为将要绘制的路径,如果使用目前被抚摸到给定的设备上下文选择了笔领域目前的路径。 参数 hdc [in] 句柄到一个设备上下文,它包含一个封闭的道路。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。 GetLastError函数可能会返回下列错误代码之一: ERROR_CAN_NOT_COMPLETE ERROR_INVALID_PARAMETER ERROR_NOT_ENOUGH_MEMORY 备注 该WidenPath函数是成功的,只有目前的笔笔是一个几何函数的ExtCreatePen,或者笔与CreatePen函数创建创建并有宽度,以设备单位,超过1。 该设备的范畴内确定的HDC参数必须包含一个封闭的道路。 任何Bezier曲线转换为扩大逼近曲线的直线序列的路径。因此,任何Bezier曲线留在后WidenPath称为路径。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 路径概览 路径功能 BeginPath CreatePen EndPath ExtCreatePen SetMiterLimit 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==WidenPath Function The WidenPath function redefines the current path as the area that would be painted if the path were stroked using the pen currently selected into the given device context. Syntax BOOL WidenPath( __in HDC hdc ); Parameters hdc [in] A handle to a device context that contains a closed path. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. GetLastError may return one of the following error codes: ERROR_CAN_NOT_COMPLETE ERROR_INVALID_PARAMETER ERROR_NOT_ENOUGH_MEMORY Remarks The WidenPath function is successful only if the current pen is a geometric pen created by the ExtCreatePen function, or if the pen is created with the CreatePen function and has a width, in device units, of more than one. The device context identified by the hdc parameter must contain a closed path. Any Bèzier curves in the path are converted to sequences of straight lines approximating the widened curves. As such, no Bèzier curves remain in the path after WidenPath is called. 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 BeginPath CreatePen EndPath ExtCreatePen SetMiterLimit Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd145200(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。