GDCLEAR

Clears a graphics device and purges its database entries

Description:

This application software resets a graphics device. In effect the device is cleared. It purges the graphics-database entries for the device. Optionally, only the current picture is cleared and the database unchanged. (Note the clearing of the current picture may not work on some graphics devices.)

Usage:

gdclear [device] [current]

Parameters:

CURRENT = _LOGICAL (Read)
If TRUE then only the current picture is cleared. [FALSE]
DEVICE = DEVICE (Read)
The graphics device to be cleared. [Current graphics device]

Examples:

gdclear
Clears the current graphics device and purges its graphics-database entries.
gdclear current
Clears the current picture on the current graphics device.
gdclear xw
Clears the xw device and purges its graphics-database entries.

Related Applications

KAPPA: GDSET, GDSTATE.