php-svg-lib: fix interface compatibility

This commit is contained in:
Alexander A. Klimov 2017-12-14 10:50:21 +01:00
parent 4ce4ad1074
commit 7e2761b277

View File

@ -202,7 +202,7 @@ class SurfaceGmagick implements SurfaceInterface
$this->fill(); $this->fill();
} }
public function rect($x, $y, $w, $h) public function rect($x, $y, $w, $h, $rx = 0, $ry = 0)
{ {
if (self::DEBUG) echo __FUNCTION__ . "\n"; if (self::DEBUG) echo __FUNCTION__ . "\n";
$this->canvas->rect($x, $y, $w, $h); $this->canvas->rect($x, $y, $w, $h);