示例#1
0
 function _endpage()
 {
     parent::_endpage();
     if ($this->compress) {
         $this->pages[$this->page] = gzcompress($this->pages[$this->page]);
     }
 }
示例#2
0
 function _endpage()
 {
     if ($this->angle != 0) {
         $this->angle = 0;
         $this->_out('Q');
     }
     parent::_endpage();
 }
 public function _endpage()
 {
     parent::_endpage();
     //Write page to file
     $filter = $this->compress ? '/Filter /FlateDecode ' : '';
     $p = $this->compress ? gzcompress($this->buffer) : $this->buffer;
     $this->_newobj();
     $this->_out('<<' . $filter . '/Length ' . strlen($p) . '>>');
     $this->_putstream($p);
     $this->_out('endobj');
     $this->buffer = '';
 }
示例#4
0
 function _endpage()
 {
     if ($this->regInfo == null || $this->regInfo['Serial'] === "00000000") {
         $img = getIconPath(0, 'unregistered.png');
         $mx = 190;
         $my = 270;
         if ($this->DefOrientation == 'L') {
             $mx = 270;
             $my = 190;
         }
         for ($x = 10; $x < $mx; $x += 30) {
             for ($y = 20; $y < $my; $y += 30) {
                 $this->Rotate(60, $x, $y);
                 $this->Image($img, $x, $y, 32, 20);
                 $this->Rotate(0);
             }
         }
     }
     if ($this->angle != 0) {
         $this->angle = 0;
         $this->_out('Q');
     }
     parent::_endpage();
 }
示例#5
0
 function _endpage()
 {
     $this->SetVisibility('all');
     parent::_endpage();
 }