複数の線分からなる連続した線を描画する
Declare Function Polyline lib "gdi32.dll" _
(ByVal hdc As Long, lpPoints As Any,ByVal cPoints As Long) As Long
Declare Function Polyline lib "gdi32.dll" _
(ByVal hdc As Integer, lpPoints As Integer,ByVal cPoints As Integer) As Integer
BOOL Polyline(
HDC hdc,
CONST POINT *lppt,
int cPoints
);
引数
hdc
デバイスコンテキストのハンドルlpPoints cPoints
頂点の数戻り値
正常終了のとき 0以外備考
エラーのとき 0
lpPointsで定義した点座標を連続的に結ぶ。サンプル
この関数を実行後はペンの現在位置が変更されない。