bar

This function is used to draw a filled rectangle without a border.

void bar(
	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

This function is obsolete and is declared only in graphics.h.

It is recommended that use solidrectangle instead of this function.

Examples

None

(贡献者:Krissi  编辑