本文整理匯總了PHP中FPDF::_endpage方法的典型用法代碼示例。如果您正苦於以下問題:PHP FPDF::_endpage方法的具體用法?PHP FPDF::_endpage怎麽用?PHP FPDF::_endpage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類FPDF
的用法示例。
在下文中一共展示了FPDF::_endpage方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: gzcompress
function _endpage()
{
parent::_endpage();
if ($this->compress) {
$this->pages[$this->page] = gzcompress($this->pages[$this->page]);
}
}
示例2:
function _endpage()
{
if ($this->angle != 0) {
$this->angle = 0;
$this->_out('Q');
}
parent::_endpage();
}
示例3: _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: getIconPath
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:
function _endpage()
{
$this->SetVisibility('all');
parent::_endpage();
}