pdf_save

(PHP3 >= 3.0.6, PHP4 )

pdf_save -- Saves the current environment

Description

void pdf_save (int pdf document)

The pdf_save() function saves the current environment. It works like the postscript command gsave. Very useful if you want to translate or rotate an object without effecting other objects. pdf_save() should always be followed by pdf_restore() to restore the environment before pdf_save().

See also pdf_restore().