PDF_restore

PDF_restore -- Restores formerly saved environment

Description

void pdf_restore(int pdf document);

The PDF_restore() function restores the environment saved with PDF_save(). It works like the postscript command grestore. Very useful if you want to translate or rotate an object without effecting other objects.

Example 1. Save and Restore

<?php PDF_save($pdf);
// do all kinds of rotations, transformations, ...
PDF_restore($pdf) ?>

See also PDF_save().