FBCLEAR(1)

NAME
fbclear - clear a frame buffer image

SYNOPSIS
fbclear [-h -c] [-F framebuffer] [red green blue]

fbclear [-h -c] [-F framebuffer] [gray_value]

DESCRIPTION
Fbclear is used to erase a frame buffer using whatever method is efficient for the device being accessed. By default, the selected color will be flooded into the color planes. If the -c option is used, a standard linear colormap will be loaded and the pan and zoom values will be reset.

If the optional color values are given, fbclear writes the specified color over the entire image. The color values must be in the range 0 to 255. In the second form shown above, the single gray_value is written into all three color channels.

The frame buffer to be cleared is determined from the -F option if given. Otherwise the environment variable FB_FILE is used to select the display device (see brlcad(1)). If this variable is not set, the default device for your system will be used. If the -h option is used on those devices where it makes a difference (e.g. Adage), the HIRES (1024x1024x24) memory is cleared; otherwise a LORES (512x512x24) device is assumed.

In addition to those flags shown above, the -W width -N height and -S square_size flags can be used to set the size of the output frame buffer.

SEE ALSO
brlcad(1), fbcmap(1), fbhelp(1)

AUTHORS
Gary S. Moss
Michael John Muuss

SOURCE
SECAD/VLD Computing Consortium, Bldg 394
The U. S. Army Ballistic Research Laboratory
Aberdeen Proving Ground, Maryland 21005

BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>.