Graphics::D rawEllipse(constPen*,REAL,REAL,REAL,REAL) メソッド (gdiplusgraphics.h)

Graphics::D rawEllipse メソッドは楕円を描画します。

構文

Status DrawEllipse(
  [in] const Pen *pen,
  [in] REAL      x,
  [in] REAL      y,
  [in] REAL      width,
  [in] REAL      height
);

パラメーター

[in] pen

種類: const Pen*

楕円の描画に使用されるペンへのポインター。

[in] x

種類: REAL

楕円を囲む四角形の左上隅の x 座標を指定する実数。

[in] y

種類: REAL

楕円を囲む四角形の左上隅の y 座標を指定する実数。

[in] width

種類: REAL

楕円を囲む四角形の幅を指定する実数。

[in] height

種類: REAL

楕円を囲む四角形の高さを指定する実数。

戻り値

種類: 状態

メソッドが成功した場合は、Status 列挙体の要素である Ok を返します

メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。

要件

   
サポートされている最小のクライアント Windows XP、Windows 2000 Professional [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows 2000 Server [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdiplusgraphics.h (Gdiplus.h を含む)
Library Gdiplus.lib
[DLL] Gdiplus.dll

関連項目

楕円と円弧

FillEllipse メソッド

グラフィックス

ペン