bar3d

This 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

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

This function is not recommended.

Examples

None

(贡献者:Krissi  编辑