GPR_$TERMINATE GPR Calls GPR_$TERMINATE
NAME
gpr_$terminate - terminates the graphics primitives package.
FORMAT
gpr_$terminate (delete_display, status)
DESCRIPTION
This routine terminates the graphics primitives package.
Input Parameters
delete_display
A Boolean (logical) value which specifies whether to delete the
frame of the Display Manager pad. If the program has operated in a
Display Manager frame and needs to delete the frame at the end of a
graphics session, set this value to true. If the program needs to
close, but not delete the frame, set this value to false. If the
program has not used a Display Manager frame, the value is ignored.
Output Parameters
status
Completion status, in status_$t format.
NOTES
gpr_$terminate deletes the frame regardless of the value of the delete-
display argument in the following case. A BLT operation from a memory
bitmap has been done to a Display Manager frame since the last time
gpr_$clear was called for the frame.
No GPR information is valid after calling gpr_$terminate.