网站首页  词典首页

请输入您要查询的函数:

 

术语 polylineto
释义 PolylineTo
语法:
BOOL PolylineTo(
__in HDC hdc,
__in const POINT *lppt,
__in DWORD cCount
);
PolylineTo功能
该PolylineTo函数绘制一个或多个直线。
参数
hdc [in]
一个句柄,设备上下文。
lppt [in]
对一个Point结构的数组,其中包含线的顶点,在逻辑单位,指针。
cCount [in]
数组中的点数。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
不同的是折线函数,PolylineTo函数使用和更新当前位置。
阿界线从当前位置到第一点lppt参数指定使用目前的笔。每增加行,函数绘制从上线终点下点lppt指定。
PolylineTo当前位置移动到最后一行终点。
如果行这个函数的形式制订一个封闭的数字部分,这个数字是没有填写。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
LineTo
MoveToEx

折线
PolyPolyline
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==PolylineTo Function
The PolylineTo function draws one or more straight lines.
Syntax
BOOL PolylineTo(
__in HDC hdc,
__in const POINT *lppt,
__in DWORD cCount
);
Parameters
hdc [in]
A handle to the device context.
lppt [in]
A pointer to an array of POINT structures that contains the vertices of the line, in logical units.
cCount [in]
The number of points in the array.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
Unlike the Polyline function, the PolylineTo function uses and updates the current position.
A line is drawn from the current position to the first point specified by the lppt parameter by using the current pen. For each additional line, the function draws from the ending point of the previous line to the next point specified by lppt.
PolylineTo moves the current position to the ending point of the last line.
If the line segments drawn by this function form a closed figure, the figure is not filled.
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
LineTo
MoveToEx
POINT
Polyline
PolyPolyline
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162816(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:16:26