网站首页  词典首页

请输入您要查询的函数:

 

术语 polybezierto
释义 PolyBezierTo
语法:
BOOL PolyBezierTo(
__in HDC hdc,
__in const POINT *lppt,
__in DWORD cCount
);
PolyBezierTo功能
该PolyBezierTo函数绘制一个或多个贝塞尔曲线。
参数
hdc [in]
一个句柄,设备上下文。
lppt [in]
对一个Point结构的数组,包含端点和控制点的逻辑单位,指针。
cCount [in]
在lppt数组中的点数。此值必须三次曲线的数目定,因为每个Bezier曲线需要两个控制点和结束点。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
借鉴了这个函数使用控制的lppt参数指定点三次Bezier曲线。第一条曲线是来自目前的立场,第三点作为控制点前两点。以后每曲线,函数正需要3个点,并使用作为未来的起点上曲线终点。
PolyBezierTo当前位置移动到最后Bézier曲线终点。这个数字是没有填写。
借鉴了这个函数使用当前笔线。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
MoveToEx

PolyBezier
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PolyBezierTo Function
The PolyBezierTo function draws one or more Bèzier curves.
Syntax
BOOL PolyBezierTo(
__in HDC hdc,
__in const POINT *lppt,
__in DWORD cCount
);
Parameters
hdc [in]
A handle to a device context.
lppt [in]
A pointer to an array of POINT structures that contains the endpoints and control points, in logical units.
cCount [in]
The number of points in the lppt array. This value must be three times the number of curves to be drawn, because each Bèzier curve requires two control points and an ending point.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
This function draws cubic Bèzier curves by using the control points specified by the lppt parameter. The first curve is drawn from the current position to the third point by using the first two points as control points. For each subsequent curve, the function needs exactly three more points, and uses the ending point of the previous curve as the starting point for the next.
PolyBezierTo moves the current position to the ending point of the last Bèzier curve. The figure is not filled.
This function draws lines by using the current pen.
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
PolyBezier
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162812(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:18:23