note 93725 deleted from function.imagesetthickness by danbrown

From: Date: Thu, 24 Sep 2009 17:38:51 +0000
Subject: note 93725 deleted from function.imagesetthickness by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161026@lists.php.net to get a copy of this message
Note Submitter: raffi dot semerciyan at gmail dot com ---- While recently "playing" with GD library for PHP I also encountered the problem of imagesetthickness not working with imageellipse. I think I found a good work around and wanted to share it with you: Instead of using imageellipse($image, $pos_x, $pos_y, $elipse_w, $elipse_h, $color); I successfully used: imagearc($image, $pos_x, $pos_y, $elipse_w, $elipse_h, 0, 359.9, $color); NOTE: Don't put exactly 360 instead of 359.9 because it seems that the implementation makes the test and uses imageellipse instead!

« previous php.notes (#161026) next »