NAME
vad, vers, ver - add to and erase components of the visual display
SYNOPSIS
#include "mpict_p.h"
vad(pic)
PICT pic;
vers (pic)
PICT pic;
ver ()
DESCRIPTION
vad
adds a top picture to the current display.
pic
must be a
PICT
returned by
mktop
or
mkpar
having the P_TOP flag set. The default limit on the number of
pictures that can be displayed at one time is 30. This limit can be
changed by calling
mginit(3U)
) before the first call to
vad.
vers
erases a single top picture from the current display.
pic
specifies a top picture that was previously an argument to
vad.
ver
erases the entire display.
On successful completion,
vad, vers,
and
ver
return 0.
DIAGNOSTICS
vad
returns -1 and prints error messages for the following:
-
pic
equals EOP.
-
pic
is not a top picture.
-
Too many picture have been added to the display-list.
-
There is an error allocating or writing display-list memory.
vers
returns -1 and prints error messages for the following:
-
pic
equals EOP.
-
pic
is not in the display-list.
-
There is an error allocating or writing display-list memory.