Set visibility of segment(s) specified by segment nseg
= -1,
Set visibility of all segments
< -1,
Set visibility of all segments except those specified by nseg
vis
Visibility status
= GINVISIBLE,
Invisible (not displayed)
= GVISIBLE,
Visible (displayed)
Description
The routine gSetSegVis() is called to change the display status of the specified picture segment.
When gSetSegVis(nseg,GINVISIBLE) is called, the picture segment ceases to be displayed on the screen, or is removed by redrawing the segment in the background colour, but continues to be held in the display file.
When the software emulation of picture segments is used and nseg does not exist an error message is generated. When using this routine in the default hardware segmentation mode, gSetSegMode(GHARDWARE), no error message is generated. However, the device may output a local error message.
Some displays do not permit this segment operation on the currently opened segment.