PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.7
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.7
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
woocommerce-pos / vendor_prefixed / dompdf / php-svg-lib / src / Svg / Surface / SurfaceInterface.php

SurfaceInterface.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.7, at vendor_prefixed/dompdf/php-svg-lib/src/Svg/Surface/SurfaceInterface.php

59 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @package php-svg-lib
5 * @link http://github.com/dompdf/php-svg-lib
6 * @license GNU LGPLv3+ http://www.gnu.org/copyleft/lesser.html
7 */
8 namespace WCPOS\Vendor\Svg\Surface;
9
10 use WCPOS\Vendor\Svg\Style;
11 /**
12 * Interface Surface, like CanvasRenderingContext2D
13 *
14 * @package Svg
15 */
16 interface SurfaceInterface
17 {
18 public function save();
19 public function restore();
20 // transformations (default transform is the identity matrix)
21 public function scale($x, $y);
22 public function rotate($angle);
23 public function translate($x, $y);
24 public function transform($a, $b, $c, $d, $e, $f);
25 // path ends
26 public function beginPath();
27 public function closePath();
28 public function fill();
29 public function stroke(bool $close = \false);
30 public function endPath();
31 public function fillStroke(bool $close = \false);
32 public function clip();
33 // text (see also the CanvasDrawingStyles interface)
34 public function fillText($text, $x, $y, $maxWidth = null);
35 public function strokeText($text, $x, $y, $maxWidth = null);
36 public function measureText($text);
37 // drawing images
38 public function drawImage($image, $sx, $sy, $sw = null, $sh = null, $dx = null, $dy = null, $dw = null, $dh = null);
39 // paths
40 public function lineTo($x, $y);
41 public function moveTo($x, $y);
42 public function quadraticCurveTo($cpx, $cpy, $x, $y);
43 public function bezierCurveTo($cp1x, $cp1y, $cp2x, $cp2y, $x, $y);
44 public function arcTo($x1, $y1, $x2, $y2, $radius);
45 public function circle($x, $y, $radius);
46 public function arc($x, $y, $radius, $startAngle, $endAngle, $anticlockwise = \false);
47 public function ellipse($x, $y, $radiusX, $radiusY, $rotation, $startAngle, $endAngle, $anticlockwise);
48 // Rectangle
49 public function rect($x, $y, $w, $h, $rx = 0, $ry = 0);
50 public function fillRect($x, $y, $w, $h);
51 public function strokeRect($x, $y, $w, $h);
52 public function setStyle(Style $style);
53 /**
54 * @return Style
55 */
56 public function getStyle();
57 public function setFont($family, $style, $weight);
58 }
59