コード例 #1
0
 /**
  * Opens a new 'object'
  *
  * While an object is open, all drawing actions are recored in the object,
  * as opposed to being drawn on the current page.  Objects can be added
  * later to a specific page or to several pages.
  *
  * The return value is an integer ID for the new object.
  *
  * @see CPDF_Adapter::close_object()
  * @see CPDF_Adapter::add_object()
  *
  * @return int
  */
 function open_object()
 {
     $ret = $this->_pdf->openObject();
     $this->_pdf->saveState();
     return $ret;
 }