函数参考


_WinAPI_WidenPath

当路径被销毁时重新定义当前选定的路径作为当前绘制的区域

#Include <WinAPIEx.au3>
_WinAPI_WidenPath ( $hDC )

参数

$hDC 包含封闭路径的设备场景的句柄

返回值

成功: 返回 1
失败: 返回 0 并设置@error标志为非0值

注意/说明

The device context identified by the $hDC parameter must contain a closed path.

The _WinAPI_WidenPath() function is successful only if the current pen has a width, in device units, of more than one.

Any Bezier curves in the path are converted to sequences of straight lines approximating the widened curves.
As such, no Bezier curves remain in the path after _WinAPI_WidenPath() is called.

相关

详情参考

在MSDN中搜索