note 93725 added to function.imagesetthickness

From: Date: Thu, 24 Sep 2009 14:31:26 +0000
Subject: note 93725 added to function.imagesetthickness
Groups: php.notes 
Request: Send a blank email to php-notes+get-161021@lists.php.net to get a copy of this message
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! ---- Server IP: 60.191.132.122 Probable Submitter: 58.34.125.232 ---- Manual Page -- http://www.php.net/manual/en/function.imagesetthickness.php Edit -- https://master.php.net/note/edit/93725 Del: integrated -- https://master.php.net/note/delete/93725/integrated Del: useless -- https://master.php.net/note/delete/93725/useless Del: bad code -- https://master.php.net/note/delete/93725/bad+code Del: spam -- https://master.php.net/note/delete/93725/spam Del: non-english -- https://master.php.net/note/delete/93725/non-english Del: in docs -- https://master.php.net/note/delete/93725/in+docs Del: other reasons-- https://master.php.net/note/delete/93725 Reject -- https://master.php.net/note/reject/93725 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161021) next »