円・楕円を描画する
Declare Function Ellipse lib "gdi32.dll" _
(ByVal hdc As Long, ByVal nLeftRect As Long, ByVal nTopRect As Long, _
ByVal nRightRect As Long, ByVal nBottomRect As Long) As Long
Declare Function Ellipse lib "gdi32.dll" _
(ByVal hdc As Integer, ByVal nLeftRect As Integer, ByVal nTopRect As Integer, _
ByVal nRightRect As Integer, ByVal nBottomRect As Integer) As Integer
BOOL Ellipse(
HDC hdc,
int nLeftRect,
int nTopRect,
int nRightRect,
int nBottomRect
);
引数
hdc
デバイスコンテキストのハンドルnLeftRect
楕円を包含する矩形の左上隅のX座標nTopRect
同、Y座標nRightRect
同、右下隅のX座標nBottomRect
同、Y座標戻り値
正常終了のとき 0以外備考
エラーのとき 0
VisualBasicのCircleメゾットと同じ。サンプル
