Arc

機能
円弧を描画する
Declare Function Arc lib "gdi32.dll" _
(ByVal hdc As Long, ByVal nLeftRect As Long, ByVal nTopRect As Long, _
ByVal nRightRect As Long, ByVal nBottomRect As Long, _
ByVal nXStartArc As Long, ByVal nYStartArc As Long, _
ByVal nXEndArc As Long, ByVal nYEndArc As Long) As Long
Declare Function Arc lib "gdi32.dll" _
(ByVal hdc As Integer, ByVal nLeftRect As Integer, ByVal nTopRect As Integer, _
ByVal nRightRect As Integer, ByVal nBottomRect As Integer, _
ByVal nXStartArc As Integer, ByVal nYStartArc As Integer, _
ByVal nXEndArc As Integer, ByVal nYEndArc As Integer) As Integer

BOOL Arc(
HDC hdc,
int nLeftRect,
int nTopRect,
int nRightRect,
int nBottomRect,
int nXStartArc,
int nYStartArc,
int nXEndArc,
int nYEndArc
);
引数
hdc

デバイスコンテキストのハンドル
nLeftRect
楕円を包含する矩形の左上隅のX座標
nTopRect
同、Y座標
nRightRect
同、右下隅のX座標
nBottomRect
同、Y座標
nXStartArc
円の始点を定義するX座標
nYStartArc
同、Y座標
nXEndArc
円の終点を定義するX座標
nYEndArc
同、Y座標
戻り値
正常終了のとき                      0以外
エラーのとき                        0