graphics_state.rb: Implements graphics state saving and restoring
Copyright January 2010, Michael Witrant. All Rights Reserved.
This is free software. Please see the LICENSE and COPYING files for details.