Graphics::FillRectangle(constBrush*,constRect&) メソッド (gdiplusgraphics.h)
Graphics::FillRectangle メソッドは、ブラシを使用して四角形の内部を塗りつぶします。
構文
Status FillRectangle(
[in] const Brush *brush,
[in, ref] const Rect & rect
);
パラメーター
[in] brush
型: const Brush*
四角形の内部を描画するために使用される ブラシ へのポインター。
[in, ref] rect
型: const Rect
塗りつぶす四角形への参照。
戻り値
型: 状態
メソッドが成功した場合は、 Status 列挙型の要素である Ok を返します。
メソッドが失敗した場合は、 Status 列挙体の他の要素のいずれかを返します。
要件
サポートされている最小のクライアント | Windows XP、Windows 2000 Professional [デスクトップ アプリのみ] |
サポートされている最小のサーバー | Windows 2000 Server [デスクトップ アプリのみ] |
対象プラットフォーム | Windows |
ヘッダー | gdiplusgraphics.h (Gdiplus.h を含む) |
Library | Gdiplus.lib |
[DLL] | Gdiplus.dll |