PolyBezier, PolyBezierTo |
VB聲明 |
|
Declare Function PolyBezier& Lib "gdi32" (ByVal hdc As Long, lppt As POINTAPI, ByVal cPoints As Long) Declare Function PolyBezierTo& Lib "gdi32" (ByVal hdc As Long, lppt As POINTAPI, ByVal cCount As Long) |
|
說明 |
|
描繪一條或多條貝塞爾(Bezier)曲線。PolyBezierTo用于將當前畫筆位置設為前一條曲線的終點 |
|
返回值 |
|
Long,非零表示成功,零表示失敗 |
|
參數(shù)表 |
|
參數(shù) |
類型及說明 |
hdc |
Long,要在其中繪圖的設備場景 |
lppt |
POINTAPI,指定一個POINTAPI結構數(shù)組。其中的第一個結構指定了起點。剩下的點三個一組——包括兩個控件點和一個終點 原文:An array of POINTAPI structures. The first structure specifies the starting point. The remaining points are in groups of three, consisting of two control points and an end point. |
cPoints |
Long,lppt數(shù)組的總點數(shù) |
Top |