fg_boxw()

Win32 DirectX Fastgraph/Light

Prototype

void fg_boxw (double xmin, double xmax, double ymin, double ymax);

Sub fg_boxw (ByVal xmin As Double, ByVal xmax As Double, ByVal ymin As Double, ByVal ymax As Double)

procedure fg_boxw (xmin, xmax, ymin, ymax : real);

Description

The fg_boxw() function draws an unfilled rectangle in 2D world space, with clipping. The width of the rectangle's edges is one pixel unless changed with fg_boxdepth().

Parameters

xmin is the world space x coordinate of the rectangle's left edge.

xmax is the world space x coordinate of the rectangle's right edge. It must be greater than or equal to the value of xmin.

ymin is the world space y coordinate of the rectangle's bottom edge.

ymax is the world space y coordinate of the rectangle's top edge. It must be greater than or equal to the value of ymin.

Return value

none

Restrictions

none

See also

fg_box(), fg_boxdepth(), fg_boxxw(), fg_rectw()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.