Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.cpdf-restore.html
Дата изменения: Sun Feb 3 22:35:44 2002
Дата индексирования: Mon Oct 1 21:41:48 2012
Кодировка:

Поисковые слова: rotation
cpdf_restore

cpdf_restore

(3.0.8 - 3.0.18 only, PHP 4 >= 4.0.0)

cpdf_restore -- Restores formerly saved environment

Description

void cpdf_restore ( int pdf document)

The cpdf_restore() function restores the environment saved with cpdf_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/Restore

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

See also cpdf_save().