Redraw()

Redisplay current or previous pictures or objects.

REDRAW [item=Gobject] [device=Gobject] Redraws all or part of the specified picture and optionally resets it to be the current picture.

example:

	# Store an HPGL copy of the last but one picture
	>> device/close
	>> device/open "HPGL" file="OUT.HPGL"
	>> redraw pic(-2)

Note: The default is to redraw the current picture on the current device

Redraw

This command allows a complete redraw of a picture (either one currently displayed on the device or one which was previously displayed and still remains in the picture list). As pictures are stored independently of the device on which they are displayed, it is possible to close the currently open device, open another, and then redraw one or more pictures to the new device. This is how the high level command Hardcopy() works. Windows and objects may also be redrawn specifically where the underlying graphics driver allows updates to specific parts of the display.

Parameters:

Item (Gobject) [ default = current picture ]

The graphics object to be redrawn, this will default to the current picture and effectively refresh the whole picture on the current device. If a window or even an individual primitive object is specified instead, just the window or object will be redrawn.

Device (Gobject) [ default = current device ]

The device on which to which to redraw the item specified. The default is the currently selected device.