Polyline, PolyLineTo |
VB声明 |
|
Declare Function Polyline Lib "gdi32" Alias "Polyline" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long Declare Function PolylineTo Lib "gdi32" Alias "PolylineTo" (ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) As Long |
|
说明 |
|
用当前画笔描绘一系列线段。使用PolylineTo函数时,当前位置会设为最后一条线段的终点。它不会由Polyline函数改动 |
|
返回值 |
|
Long,非零表示成功,零表示失败 |
|
参数表 |
|
参数 |
类型及说明 |
hdc |
Long,要在其中绘图的设备场景 |
lpPoint |
|
nCount |
Long,lpPoint数组中的点数。会从第一个点到第二个点画一条线,以次类推 |
Top |