Graphics::FillEllipse(constBrush*,INT,INT,INT,INT) メソッド (gdiplusgraphics.h)

Graphics::FillEllipse メソッドは、ブラシを使用して、座標と寸法で指定された楕円の内部を塗りつぶします。

構文

Status FillEllipse(
  [in] const Brush *brush,
  [in] INT         x,
  [in] INT         y,
  [in] INT         width,
  [in] INT         height
);

パラメーター

[in] brush

型: const Brush*

楕円の内部を描画するために使用される Brush オブジェクトへのポインター。

[in] x

型: INT

楕円の境界を指定する四角形の左上隅の x 座標を指定する整数。

[in] y

型: INT

楕円の境界を指定する四角形の左上隅の y 座標を指定する整数。

[in] width

型: INT

楕円の境界を指定する四角形の幅を指定する整数。

[in] height

型: INT

楕円の境界を指定する四角形の高さを指定する整数。

戻り値

種類: 状態

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

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

要件

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

関連項目

ブラシと図形の塗りつぶし

グラフィックス

Solidbrush

ブラシを使用した図形の塗りつぶし