网站首页  词典首页

请输入您要查询的函数:

 

术语 polyline
释义 Polyline
语法:
BOOL Polyline(
__in HDC hdc,
__in const POINT *lppt,
__in int cPoints
);
折线函数
折线函数绘制的通过连接指定的数组点的一系列线段。
参数
hdc [in]
一个句柄,设备上下文。
lppt [in]
对一个Point结构数组的指针,按逻辑单位。
cPoints [in]
数组中的点数。这个数目必须大于或等于2。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。
备注
该行通过绘制点以后通过使用当前笔从第一点。不像LineTo或PolylineTo职能,折线函数既不使用也不更新当前位置。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
直线和曲线概述
线和曲线函数
LineTo
MoveToEx

PolylineTo
PolyPolyline
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==Polyline Function
The Polyline function draws a series of line segments by connecting the points in the specified array.
Syntax
BOOL Polyline(
__in HDC hdc,
__in const POINT *lppt,
__in int cPoints
);
Parameters
hdc [in]
A handle to a device context.
lppt [in]
A pointer to an array of POINT structures, in logical units.
cPoints [in]
The number of points in the array. This number must be greater than or equal to two.
Return Value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Remarks
The lines are drawn from the first point through subsequent points by using the current pen. Unlike the LineTo or PolylineTo functions, the Polyline function neither uses nor updates the current position.
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
PolylineTo
PolyPolyline
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd162815(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