bar

The 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

The function is declared in graphics.h and is used to be compatible with function of the same name in Turbo C, equivalent to the solidrectangle function in easyx.h.

It is recommended that use solidrectangle instead of the function.

Examples

None