Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
contracts /
FPDI-master /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Math
[ DIR ]
drwxr-sr-x
2025-08-19 14:44
PdfParser
[ DIR ]
drwxr-sr-x
2025-08-19 14:44
PdfReader
[ DIR ]
drwxr-sr-x
2025-08-19 14:44
Tcpdf
[ DIR ]
drwxr-sr-x
2025-08-19 14:44
Tfpdf
[ DIR ]
drwxr-sr-x
2025-08-19 14:44
FpdfTpl.php
389
B
-rw-r--r--
2025-08-19 14:44
FpdfTplTrait.php
14.11
KB
-rw-r--r--
2025-08-19 14:44
FpdfTrait.php
6.6
KB
-rw-r--r--
2025-08-19 14:44
Fpdi.php
748
B
-rw-r--r--
2025-08-19 14:44
FpdiException.php
355
B
-rw-r--r--
2025-08-19 14:44
FpdiTrait.php
23.03
KB
-rw-r--r--
2025-08-19 14:44
GraphicsState.php
1.93
KB
-rw-r--r--
2025-08-19 14:44
TcpdfFpdi.php
559
B
-rw-r--r--
2025-08-19 14:44
autoload.php
629
B
-rw-r--r--
2025-08-19 14:44
Save
Rename
<?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(?Matrix $ctm = null) { if ($ctm === null) { $ctm = new Matrix(); } $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); } }