Browse Source

remove deprecated paramethers

pull/8/head
d47081 2 years ago
parent
commit
a8bd6c5e5a
  1. 4
      library/icon.php

4
library/icon.php

@ -165,7 +165,7 @@ final class Icon {
for ($i = 0; $i < count($shape); $i++) for ($i = 0; $i < count($shape); $i++)
$shape[$i] = $shape[$i] * $this->_spriteZ; $shape[$i] = $shape[$i] * $this->_spriteZ;
imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg); imagefilledpolygon($sprite, $shape, $fg);
for ($i = 0; $i < $rotation; $i++) for ($i = 0; $i < $rotation; $i++)
$sprite = imagerotate($sprite, 90, $bg); $sprite = imagerotate($sprite, 90, $bg);
@ -215,7 +215,7 @@ final class Icon {
for ($i = 0; $i < count($shape); $i++) for ($i = 0; $i < count($shape); $i++)
$shape[$i] = $shape[$i] * $this->_spriteZ; $shape[$i] = $shape[$i] * $this->_spriteZ;
if (count($shape) > 0) if (count($shape) > 0)
imagefilledpolygon($sprite, $shape, count($shape) / 2, $fg); imagefilledpolygon($sprite, $shape, $fg);
return $sprite; return $sprite;
} }

Loading…
Cancel
Save