Standard routine prototype to restore the graphical state at a closegraph call.
Source position: graphh.inc line 575
type restorestateproc = procedure;