bar3d

The function is used to draw a filled 3D rectangle with a border.

void bar3d(
	int left,
	int top,
	int right,
	int bottom,
	int depth,
	bool topflag
);

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.

depth

The depth of the 3D rectangle.

topflag

When false, the 3D top of the rectangle is not drawn. This option can be used to draw stacked 3D rectangles.

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.

Examples

None