fg_box()

Win32 DirectX Fastgraph/Light

Prototype

void fg_box (int minx, int maxx, int miny, int maxy);

Sub fg_box (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long)

procedure fg_box (minx, maxx, miny, maxy : integer);

Description

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

Parameters

minx is the x coordinate of the rectangle's left edge.

maxx is the x coordinate of the rectangle's right edge. It must be greater than or equal to the value of minx.

miny is the y coordinate of the rectangle's top edge.

maxy is the y coordinate of the rectangle's bottom edge. It must be greater than or equal to the value of miny.

Return value

none

Restrictions

none

See also

fg_boxdepth(), fg_boxw(), fg_boxx(), fg_rect()

Examples

Graphics

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.