public HPDF_STATUS gSave()

Saves the page's current graphics parameter to the stack. An application can invoke gSave() up to 28 (???) and can restore the saved parameter by invoking gRestore().

The parameters that are saved by gSave() are:

  • Character Spacing
  • Dash Mode
  • Filling Color
  • Flatness
  • Font
  • Font Size
  • Horizontal Scalling
  • Line Width
  • Line Cap Style
  • Line Join Style
  • Miter Limit
  • Rendering Mode
  • Stroking Color
  • Text Leading
  • Text Rise
  • Transformation Matrix
  • Word Spacing
  • Graphics Mode

    Before and after - GMode.pageDescription.