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