next up previous contents index
Next: Graphical Input Up: Segments Previous: The Pick Identifier

Segment Re-drawing

It is possible to force all segments within the WDSS on a particular workstation to be re-drawn by calling the routine Re-draw SeGments on WorKstation:

CALL GRSGWK(WKID)

The routine clears the screen, performs all deferred actions, and re-draws all segments. All non-retained data is lost. Possible reasons to re-draw all segments are:

  1. if a segment had been over-written or deleted and it is desired to regenerate a clean image;
  2. if one wishes to remove all non-retained data, system messages, etc;
  3. if, on this workstation, image regeneration is required in order to display the effect of modifying a segment attribute, and implicit regeneration is switched off.
The action of this routine differs from that of Update WorKstation (GUWK), which may or may not re-draw segments which have not been changed.

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