php-svg-lib: fix interface compatibility
This commit is contained in:
parent
4ce4ad1074
commit
7e2761b277
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue