Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
Image /
GIS /
[ HOME SHELL ]
Name
Size
Permission
Action
Parser
[ DIR ]
drwxr-xr-x
Renderer
[ DIR ]
drwxr-xr-x
LineSet.php
2.52
KB
-rw-r--r--
Parser.php
3.71
KB
-rw-r--r--
Renderer.php
7.52
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : LineSet.php
<?php // // +------------------------------------------------------------------------+ // | PEAR :: Image :: GIS :: Line Set | // +------------------------------------------------------------------------+ // | Copyright (c) 2002-2005 Jan Kneschke <jan@kneschke.de> and | // | Sebastian Bergmann <sb@sebastian-bergmann.de>. | // +------------------------------------------------------------------------+ // | This source file is subject to version 3.00 of the PHP License, | // | that is available at http://www.php.net/license/3_0.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +------------------------------------------------------------------------+ // // $Id: LineSet.php 299207 2010-05-10 10:21:58Z clockwerx $ // /** * A Set of Lines. * * @author Sebastian Bergmann <sb@sebastian-bergmann.de> * @copyright Copyright © 2002-2005 Jan Kneschke <jan@kneschke.de> and Sebastian Bergmann <sb@sebastian-bergmann.de> * @license http://www.php.net/license/3_0.txt The PHP License, Version 3.0 * @category Image * @package Image_GIS */ class Image_GIS_LineSet { /** * @var array $color */ var $color = 'black'; /** * @var array $lines */ var $lines = array(); /** * @var array $min */ var $min = false; /** * @var array $max */ var $max = false; /** * Constructor. * * @param string $color * @access public */ function Image_GIS_LineSet($color = 'black') { $this->color = $color; } /** * Adds a line to the line set. * * @param float $x1 * @param float $y1 * @param float $x2 * @param float $y2 * @access public */ function addLine($x1, $y1, $x2, $y2) { $this->lines[] = array($x1, $y1, $x2, $y2); if ($this->min == false) { $this->min['x'] = min($x1, $x2); $this->min['y'] = min($y1, $y2); $this->max['x'] = max($x1, $x2); $this->max['y'] = max($y1, $y2); } else { $this->min['x'] = min($this->min['x'], $x1, $x2); $this->min['y'] = min($this->min['y'], $y1, $y2); $this->max['x'] = max($this->max['x'], $x1, $x2); $this->max['y'] = max($this->max['y'], $y1, $y2); } } } ?>
Close