next up previous contents index
Next: Sending Messages/Prompts Up: Workstations Previous: Deferral States

Updating the Workstation

Because of the deferral mode set, not all the output may yet have been sent to the display. The routine

CALL GUWK(WKID, REGFL)

is provided to bring the contents of the workstation WKID up-to-date. The argument REGFL can take the values 'GPOSTP' or 'GPERFO'. If 'GPOSTP' is specified, then all deferred actions are performed at some time. If 'GPERFO' is specified, then all deferred actions are performed, the workstation transformation is updated, the display surface is cleared, and all segments are re-drawn as necessary. If an implicit regeneration of the image has to be performed then non-retained data (primitives not stored in segments) will be lost.

Note that a call to GUWK will not necessarily clear the workstation and re-draw all segments from scratch. However, this can be achieved by calling the function GRSGWK (see section on Page gif).


Janne Saarela
Mon Apr 3 17:00:12 METDST 1995