clearrectangle

This function is used to clear a rectangular region.

void clearrectangle(
	int left,
	int top,
	int right,
	int bottom
);

Parameters

left

The x-coordinate of the left of the rectangle.

top

The y-coordinate of the upper of the rectangle.

right

The x-coordinate of the right of the rectangle.

bottom

The y-coordinate of the lower of the rectangle.

Return Value

None

Remarks

The function uses the background color to clear the rectangular region.

Examples

None

(贡献者:Krissi  编辑