objreplace() — Silicon Graphics
NAME
objreplace - overwrites existing display list commands with new ones
SPECIFICATION
C
objreplace(t)
Tag t;
FORTRAN
subroutine objrep(t)
integer*4 t
Pascal
procedure objreplace(t: Tag);
DESCRIPTION
objreplace combines the functions of objinsert and objdelete. It takes a single argument, a tag t. Graphics commands that follow objreplace overwrite existing commands until a closeobj, objinsert, objdelete, or objreplace command terminates the replacement. objreplace requires the new command to be the same length as the one it replaces, which makes replacement operations fast. More general replacement can be done with objdelete and objinsert commands. objreplace is meant as a quick means of replacing a command with a version of itself containing different arguments.
SEE ALSO
closeobj, objdelete, editobj, objinsert
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986