From bf0c03a58e0625cc24fa3a5548d8828e7af53d74 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Mon, 12 May 2014 17:53:53 +0200 Subject: [PATCH] Imagick Ellipse fix --- src/Intervention/Image/Imagick/Shapes/EllipseShape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Imagick/Shapes/EllipseShape.php b/src/Intervention/Image/Imagick/Shapes/EllipseShape.php index 8968df90..d6ad06fd 100644 --- a/src/Intervention/Image/Imagick/Shapes/EllipseShape.php +++ b/src/Intervention/Image/Imagick/Shapes/EllipseShape.php @@ -31,7 +31,7 @@ class EllipseShape extends \Intervention\Image\AbstractShape $circle->setStrokeColor($border_color->getPixel()); } - $circle->ellipse($x, $y, $this->width, $this->height, 0, 360); + $circle->ellipse($x, $y, $this->width / 2, $this->height / 2, 0, 360); $image->getCore()->drawImage($circle);