resetPar: Function to reset all graphics parameters
Description
With this function other functions can manipulate the par settings and
when they are finished restore the settings to the state before the function call.
The package hmi uses this mechanism for its function chaincheck.