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
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class SurfaceGmagick implements SurfaceInterface
$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";
$this->canvas->rect($x, $y, $w, $h);