FillRect

概要

長方形を塗りつぶします。

プロトタイプ

void FillRect(int index, int x, int y, int width, int height, int color);

戻り値

なし

パラメータ

index

オフスクリーン画像バッファ番号 (-1〜255)

x, y

矩形左上座標

width, height

矩形サイズ

color

描画する色

解説

FillRect 関数は、矩形領域を color で指定された色で塗りつぶします。index に -1 を指定すると、描画先をバックバッファにすることができます。

参照

DrawRect

▲SecTop | ▲PageTop
Copyright (c) 1999-2006 インターネット停留所