术语 | polybezier |
释义 | PolyBezier 语法: BOOL PolyBezier( __in HDC hdc, __in const POINT *lppt, __in DWORD cPoints ); PolyBezier功能 该PolyBezier函数绘制一个或多个贝塞尔曲线。 参数 hdc [in] 一个句柄,设备上下文。 lppt [in] 对一个Point结构的数组指针,包含端点和逻辑单位的曲线(S)控制点。 cPoints [in] 在lppt数组中的点数。此值必须是超过3倍的数量,曲线绘制,因为每个Bezier曲线需要两个控制点和终结点,最初的曲线,需要额外的出发点。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。 备注 该PolyBezier函数绘制使用端点和控制点的lppt参数指定的三次Bezier曲线。第一条曲线是来自第一点的第四点作为管制站的第二和第三点。序列中的每个随后曲线正需要3个点:上届曲线终点是为出发点,接下来的两个顺序点控制点,第三个是终点。 当前位置是既没使用也没更新了PolyBezier功能。这个数字是没有填写。 借鉴了这个函数使用当前笔线。 实例 有关示例,请参见更新重新划定区域。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWingdi.h(头文件:winuser.h) LibraryGdi32.lib DLLGdi32.dll 参见 直线和曲线概述 线和曲线函数 MoveToEx 点 PolyBezierTo 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年7月11日 ==英文原文==PolyBezier Function The PolyBezier function draws one or more Bèzier curves. Syntax BOOL PolyBezier( __in HDC hdc, __in const POINT *lppt, __in DWORD cPoints ); Parameters hdc [in] A handle to a device context. lppt [in] A pointer to an array of POINT structures that contain the endpoints and control points of the curve(s), in logical units. cPoints [in] The number of points in the lppt array. This value must be one more than three times the number of curves to be drawn, because each Bèzier curve requires two control points and an endpoint, and the initial curve requires an additional starting point. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. Remarks The PolyBezier function draws cubic Bèzier curves by using the endpoints and control points specified by the lppt parameter. The first curve is drawn from the first point to the fourth point by using the second and third points as control points. Each subsequent curve in the sequence needs exactly three more points: the ending point of the previous curve is used as the starting point, the next two points in the sequence are control points, and the third is the ending point. The current position is neither used nor updated by the PolyBezier function. The figure is not filled. This function draws lines by using the current pen. Examples For an example, see Redrawing in the Update Region . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWingdi.h (include Windows.h) LibraryGdi32.lib DLLGdi32.dll See Also Lines and Curves Overview Line and Curve Functions MoveToEx POINT PolyBezierTo Send comments about this topic to Microsoft Build date: 7/11/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/dd162811(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。