fg_boxdepth()

Win32 DirectX Fastgraph/Light

Prototype

void fg_boxdepth (int xdepth, int ydepth);

Sub fg_boxdepth (ByVal xdepth As Long, ByVal ydepth As Long)

procedure fg_boxdepth (xdepth, ydepth : integer);

Description

The fg_boxdepth() function defines the depth of rectangles drawn with the box display functions. The fg_vbinit() function initializes the box depth to one pixel in each direction.

Parameters

xdepth is the width in pixels of the rectangle's left and right sides. It must be greater than zero.

ydepth is the height in pixels of the rectangle's top and bottom sides. It must be greater than zero.

Return value

none

Restrictions

none

See also

fg_box(), fg_boxw(), fg_boxx(), fg_boxxw()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.